Skip to content

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

Description

@PhilBlackRose

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions