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

FR: Example of consuming metadata from the /odata/$metadata URI #12

Open
PhilBlackRose opened this issue Jan 16, 2018 · 0 comments
Open

Comments

@PhilBlackRose
Copy link

I encountered this very useful set of snippets, but unfortunately I have not found what I'm looking for.

Updating from odata V3 to V4 endpoint, and needing to replace:

OData.read(
   "/odata/$metadata", 
   function (metadata) {
      OData.defaultMetadata.push(metadata);
   },
   function (error) {
      showError(error);
   },
   OData.metadataHandler
);

It would be wonderful if this could be added.

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