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

Integrate a GraphQL schema #56

Open
mielvds opened this issue Sep 16, 2021 · 2 comments
Open

Integrate a GraphQL schema #56

mielvds opened this issue Sep 16, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@mielvds
Copy link

mielvds commented Sep 16, 2021

This library follows a schema-less approach, but I was wondering whether a schema-based option is not worth considering.
Adding a schema in the mix could have a couple of advantages:

  • a more optimal conversion that leads to better performance (queries are predictable)
  • clarity for client developers by supporting graphiql, etc.
  • compatibility with other graphql tools;
  • it's complimentary; supporting a graphql schema does not prevent the current approach
  • no need to start from scratch, there are plenty of examples out there in other programming languages.

(this could be something we can put a bounty on)

@rubensworks
Copy link
Owner

This may indeed be useful in cases where a fixed source (or federation of sources) is known beforehand, where the schema of that source could be used to more conveniently write queries.

It may even be possible to automatically generate this schema from the sources through introspective SPARQL queries on the source (and possibly also on the used RDF vocabularies).

Feel free to mail me if you want to discuss putting a bounty on this! (if we want to include schema generation, this may also be suitable as a research project)

@rubensworks rubensworks added the enhancement New feature or request label Sep 21, 2021
@nikolaswise
Copy link

Would love to second generated a graphql schema automagically – that would be very neat. Right now Im trying to integrate GraphiQL into my app, and a magic schema would be cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants