deathbeds / jupyter-graphql

Experimental Jupyter Notebook server extension supporting GraphQL
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Make schema extensible #3

Open bollwyvl opened 5 years ago

bollwyvl commented 5 years ago

Demo on Binder

Screenshot from 2019-04-09 00-45-05

This PR adds a GraphQLManager, a LoggingConfigurable which owns the schema and subscription serverr. At present, the schema extension is handled with entrypoints: this could be done with jupyter config, albeit round-aboutly, because of dict merging. The contents and fake subscription are added by default.

What is substantially missing is a compelling place yet for adding an extensible type and not just the top-level schema. Some places that could:

Not sure the best route for this yet...