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(union-types): adds support for OneOf and AnyOf #20

Merged
merged 9 commits into from
Jul 24, 2023

Conversation

sufyankhanrao
Copy link
Collaborator

@sufyankhanrao sufyankhanrao commented Jun 1, 2023

This PR adds support for union-types that are OneOf and AnyOf types by providing the base type by the name of the UnionType which is an abstract class. This concrete implementation of this class are OneOf, AnyOf and LeafType classes which are part of the core library.

closes #19

@sufyankhanrao sufyankhanrao self-assigned this Jun 1, 2023
Copy link
Contributor

@MaryamAdnan3 MaryamAdnan3 left a comment

Choose a reason for hiding this comment

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

LGTM

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@sufyankhanrao sufyankhanrao merged commit 91b5af6 into main Jul 24, 2023
@sufyankhanrao sufyankhanrao deleted the add-type-combinator-support branch July 24, 2023 06:39
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.

Add support for Union Types
2 participants