Skip to content

Conversation

@czechboy0
Copy link
Contributor

Motivation

Fixes #229.

Modifications

Stops generating the structs and properties when they're empty.

Result

About 10% reduction in generated code, more clear generated code.

Test Plan

Adapted tests, check those out first to see how the generated code is changing.

Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@czechboy0 czechboy0 merged commit 6a81c26 into apple:main Aug 31, 2023
@czechboy0 czechboy0 deleted the hd-skip-generating-empty-input-output-structs branch August 31, 2023 10:09
@czechboy0 czechboy0 added the 🆕 semver/minor Adds new public API. label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

2 participants