Upgrade GraphiQL to version 2.x.
Make Query Playground available on GET
|This release includes breaking changes
- Project level API
The Guillotine app now mounts to the root of all projects - automatically provisioning an API to all project branches root i.e.
- Dynamic site context
With the API now being project-relative, setting the site context in a header enable you to perform site relative queries.
- Global schema
The GraphQL type schema is generated from all available schemas (across all installed apps) in the Enonic instance.
- Content Studio API browser
Guillotine also features an embedded GraphQL API browser called Query playground. Query Playground is available directly in Content Studio, in context of your projects.
- Typed x-data schemas
Like for all other schemas, x-data are now also fully typed - grouped by application key. See examples of xData usage
- Site deployment removed
- ItemSet and OptionSet type name fix
Previously, their types were erroneously generated from their schema label, rather than name. Clients using these types through introspection will break if label and name are different in the schemas.