Skip to content

feature/odata cast derivedconstraint #303

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

Merged
merged 23 commits into from
Oct 2, 2020

Conversation

baywet
Copy link
Member

@baywet baywet commented Sep 29, 2020

Summary

Adds support for odata casting in Java (and more generally in typewriter) by leveraging drived type constraints annotations.
replaces #302

links

https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Validation.V1.xml#L147
https://docs.microsoft.com/en-us/odata/webapi/built-in-routing-conventions

Generated code differences

microsoftgraph/msgraph-sdk-java#509

Copy link
Contributor

@zengin zengin left a comment

Choose a reason for hiding this comment

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

E2E logic makes sense.

Waiting on:

@baywet
Copy link
Member Author

baywet commented Oct 2, 2020

@zengin thanks for the great feedback! replied to both.

MIchaelMainer
MIchaelMainer previously approved these changes Oct 2, 2020
Copy link
Contributor

@zengin zengin left a comment

Choose a reason for hiding this comment

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

  • tests need the same updates

@baywet
Copy link
Member Author

baywet commented Oct 2, 2020

  • tests need the same updates

yep, I just saw that, on it :)

@baywet
Copy link
Member Author

baywet commented Oct 2, 2020

@zengin I actually had forgotten a file in my last commit 🤦‍♂️

@baywet baywet merged commit 31fe6ac into dev Oct 2, 2020
@baywet baywet deleted the feature/odata-cast-derivedconstraint branch October 2, 2020 18:36
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.

3 participants