Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@simosho
Copy link
Contributor

@simosho simosho commented Mar 5, 2024

  • add support for enum of objects

    According to the json-schema specifcation elements in the enum array might be of any type, so that includes objects.

@simosho simosho changed the title feat: support enum of objects (#1) feat: support enum of objects Mar 5, 2024
Copy link
Owner

@ghandic ghandic left a comment

Choose a reason for hiding this comment

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

Thanks for the PR - a object based enum sounds horrific πŸ˜… but the spec allows it!

@ghandic ghandic merged commit 46684c6 into ghandic:main Mar 5, 2024
@ghandic
Copy link
Owner

ghandic commented Mar 5, 2024

I'll do a release for this in the coming days πŸ€™πŸ»

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.

2 participants