Skip to content

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.

4 participants