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

Add support for value types #457

Merged
merged 4 commits into from
May 29, 2024
Merged

Add support for value types #457

merged 4 commits into from
May 29, 2024

Conversation

apazzolini
Copy link
Contributor

This adds read/write support for value types in the CLI.

Notably, this destructures the type field inside of the value type properties for direct usage. If we ever support additional metadata on value types (e.g. regex with a pattern), we'll add a second CLI flag for setting it. This keeps the 99% case cleaner.

Closes ENG-7909

@apazzolini apazzolini requested a review from a team as a code owner May 16, 2024 19:32
kyle-mcguire
kyle-mcguire previously approved these changes May 20, 2024
Copy link
Member

@nmanoogian nmanoogian left a comment

Choose a reason for hiding this comment

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

Nice! I did some light local testing and it feels great

I agree with the decision to keep any future type parameters (e.g. regex) in a separate flag

@apazzolini apazzolini merged commit 4e54853 into master May 29, 2024
28 checks passed
@apazzolini apazzolini deleted the andre/value-types branch May 29, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants