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

#metadata link is wrong in returned results (WebApiClassic/DynamicEdmModelCreation) #130

Open
VisualMicro opened this issue Apr 21, 2020 · 0 comments

Comments

@VisualMicro
Copy link

VisualMicro commented Apr 21, 2020

We have integrated the DynamicEdmModelCreation into an Asp/Mvc web application which works very well thank you.

Q: One small question is why the meta link is missing the data source?

For example:-

Request
[web_app]/odata/MyDataSource/products

Response
{"@odata.context":"[web_app]/odata/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}

Reponse should be:-
{"@odata.context":"[web_app]/odata/MyDataSource/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}

`

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