The intent of the MicroProfile GraphQL specification is to provide a “code-first” set of APIs that will enable users to quickly develop portable GraphQL-based applications in Java.
There are 2 main requirements for all implementations of this specification, namely:
- Generate and make the GraphQL Schema available. This is done by looking at the annotations in the users code, and must include all GraphQL Queries and Mutations as well as all entities as defined implicitly via the response type or argument(s) of Queries and Mutations.
- Execute GraphQL requests. This will be in the form of either a Query or a Mutation. As a minimum the specification must support executing these requests via HTTP.
- Functional Changes
- Detail any changes in functionality from previous versions. Explain what has been added, modified, or removed, and the impact of these changes.
GraphQL 2.0 aligns with Jakarta EE 9.1 and works with MicroProfile 5.0. The only change is to update the dependencies from javax to jakarta and there is no other functional update.
This is a major release as it no longer work with the previous Jakarta EE 8 and Java EE releases.