A GraphQL API for EMF
summary
A GraphQL API is integrated into Eclipse Sirius to expose EMF and workspace functionality over a single HTTP endpoint using graphql-java and a programmatic schema generator; it supports queries, mutations, cursor-based pagination (a cursor-based pagination relay style), and a simple cost analysis that rejects queries over a 100-point cost limit. Schema maps EMF classes/interfaces to GraphQL types with deliberate field duplication, a WebSocket subscriptions prototype exists, Apollo-style persisted queries and caching are planned, and the endpoint ships with Sirius 6.1 release.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:18Plan of the talk
- 0:37Overview of GraphQL
- 2:11Query Language
- 6:29Type System
- 9:24Introspection
- 10:00Developer Experience
- 12:29GraphQL and EMF
- 25:06Pagination
- 27:04GraphQL and Sirius
- 29:42Work in progress
- 34:15Eclipse Sirius
related talks
55mGraphQL - APIs the New Way
28mStreamlining Access to NASA Earth Science Data with GraphQL
27mGraphQL: Towards a universal query language
01h 07mGraphQL: Smooth Schemas and Rough Edges
50mBuilding GraphQL APIs with Java
37mGraphQL — A New Look at the API
32mHow to get started and build something with GraphQL
16mBuild Your GraphQL APIs Faster with Nexus Schema
