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

Add support for JSON Metadata to GraphQL Mesh #299

Open
mikepizzo opened this issue Jan 28, 2022 · 0 comments
Open

Add support for JSON Metadata to GraphQL Mesh #299

mikepizzo opened this issue Jan 28, 2022 · 0 comments
Labels
Projects

Comments

@mikepizzo
Copy link
Contributor

mikepizzo commented Jan 28, 2022

GraphQL Mesh enables exposing an OData service through a GraphQL Gateway or Client SDK. It reads $metadata in order to generate a GraphQL schema and handlers for calling the OData service.

Unfortunately, GraphQL Mesh currently only works with csdl-xml.

In order to work well with RAPID services that only support csdl-json, we would need to enhance the GraphQL Mesh OData Handler to support csdl-json.

Note that OData Handler builds a local cached version of the metadata in a json format. Ideal would be if that format were (a subset of) csdl-json.

Note that once GraphQL Mesh supports csdl-json, we should update the GraphQL sample/tutorial to use csdl-json -- currently it forces application/xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
RAPID MVP
  
To do
Development

No branches or pull requests

1 participant