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

Graph-QL support #100

Open
nazrhom opened this issue Dec 13, 2017 · 0 comments
Open

Graph-QL support #100

nazrhom opened this issue Dec 13, 2017 · 0 comments

Comments

@nazrhom
Copy link
Contributor

nazrhom commented Dec 13, 2017

Internal discussions and user feedback have suggested the need to extend Pinejs to add support for GraphQL clients.

The idea is to offer graphql endpoint, alongside the current OData API to interact with the model.
To support this we need to take the following steps:

  • Generate a representation of the GraphQL types from the SBVR model.
  • Generate an API which is equally expressive as the OData one to interact with the data model. Graphcool does something similar already, we should attempt to be compliant with their spec as long as it does not hinder our implementation. In practice we probably should be able to support an extension of their API which is backwards compatible.
  • Expose a GraphQL endpoint which uses the GraphQL representation of the data model to validate and execute queries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant