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

for types that result from merged allOf constructs, implement conversion to the component types #726

Open
ahl opened this issue Dec 24, 2024 · 0 comments
Labels
enhancement new feature request

Comments

@ahl
Copy link
Collaborator

ahl commented Dec 24, 2024

If we see an allOf, we'll merge that into a type that's the intersection of the components of the subschema array. In such a situation it would be nice to have conversion methods:

pub struct MergedTypes { }

impl From<MergedType> for ComponentType1 { }
impl From<MergedType> for ComponentType2 { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new feature request
Projects
None yet
Development

No branches or pull requests

1 participant