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

Allow oneof for any schemas #105

Merged
merged 4 commits into from
Dec 10, 2024
Merged

Allow oneof for any schemas #105

merged 4 commits into from
Dec 10, 2024

Conversation

jaredoconnell
Copy link
Contributor

@jaredoconnell jaredoconnell commented Oct 21, 2024

Changes introduced with this PR

Oneof schemas should behave acceptably when used. They should provide the data in a map format with the discriminator inlined.
This will allow oneof types to be inputted to the wait_for field.

If we need a type that doesn't permit oneof types, we could add more specific types.


By contributing to this repository, I agree to the contribution guidelines.

Copy link

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

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

A few more comments, plus the linter error.

@jaredoconnell jaredoconnell merged commit 2c4dbf8 into main Dec 10, 2024
3 checks passed
@jaredoconnell jaredoconnell deleted the allow-oneof-for-any branch December 10, 2024 19:30
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