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 allowing unknown enum value #159

Closed
MaryamAdnan3 opened this issue Mar 29, 2024 · 0 comments · Fixed by #160
Closed

Add support for allowing unknown enum value #159

MaryamAdnan3 opened this issue Mar 29, 2024 · 0 comments · Fixed by #160
Assignees
Labels
enhancement New feature or request

Comments

@MaryamAdnan3
Copy link
Collaborator

By default unknown enum values are invalidated during validation and mapping. we are introducing a new optional flag allowForUnknownProps. In case of true it will bypass validation for unknown value for both stringEnums and numberEnums

@MaryamAdnan3 MaryamAdnan3 added the enhancement New feature or request label Mar 29, 2024
@MaryamAdnan3 MaryamAdnan3 self-assigned this Mar 29, 2024
MaryamAdnan3 pushed a commit that referenced this issue Mar 29, 2024
@MaryamAdnan3 MaryamAdnan3 linked a pull request Mar 29, 2024 that will close this issue
MaryamAdnan3 added a commit that referenced this issue Mar 29, 2024
 feat(schema): add support for unknown enum values
closes #159
 
Co-authored-by: MaryamAdnan3 <maryam.adnan@apimatic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant