Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(packages/cli): add enumStyle config option #1683

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Conversation

vicary
Copy link
Member

@vicary vicary commented Apr 23, 2024

Adds enumStyle configuration option for mutually exclusive style of generated enum: assertion, const, enum, and string.

This deprecates existing config enumsAsConst and enumsAsStrings.

Copy link
Contributor

🚀 Snapshot Release (canary)

The latest changes of this PR are available as canary on npm (based on the declared changesets):

Package Version Info
@gqty/cli 4.0.0-canary-20240423080303.f9d39b08fe39e3f3e67d4627bbf8d6d06a2bc57b npm ↗︎ unpkg ↗︎
gqty 3.0.0-canary-20240423080303.f9d39b08fe39e3f3e67d4627bbf8d6d06a2bc57b npm ↗︎ unpkg ↗︎
@gqty/logger 3.0.0-canary-20240423080303.f9d39b08fe39e3f3e67d4627bbf8d6d06a2bc57b npm ↗︎ unpkg ↗︎
@gqty/react 3.0.0-canary-20240423080303.f9d39b08fe39e3f3e67d4627bbf8d6d06a2bc57b npm ↗︎ unpkg ↗︎

@vicary vicary merged commit eab8c7a into main Apr 23, 2024
7 checks passed
@vicary vicary deleted the feat/config-enum-style branch April 23, 2024 08:14
@github-actions github-actions bot mentioned this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant