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

Support open types and dynamic properties #27

Open
maboivin opened this issue Jul 22, 2021 · 0 comments
Open

Support open types and dynamic properties #27

maboivin opened this issue Jul 22, 2021 · 0 comments

Comments

@maboivin
Copy link

Dynamic properties support has been added to the OData client 7.7.0, See this blog post for more details.

To support this new feature:

  • The Microsoft.OData.Client dependency needs to be updated to the latest version (7.9.0).
  • The ODataT4CodeGenerator needs to be updated to the one in the OData connected service which will give access to set a new property called EmitContainerPropertyAttribute to true.

On a side note, I was able to make it work by looking at the current code and removing the dependency on the FilesManager from the new ODataT4CodeGenerator from the OData connected service.
image

Do you think it's something that could be added for the next version of the driver?

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

No branches or pull requests

1 participant