graphql-java-generator / graphql-maven-plugin-project

graphql-maven-plugin is a Maven Plugin for GraphQL, based on graphql-java. It accelerates the development for both the client and the server, by generating the Java code. It allows a quicker development when in contract-first approach, by avoiding to code the boilerplate code.
https://graphql-maven-plugin-project.graphql-java-generator.com
MIT License
118 stars 47 forks source link

Support for Multiple Schemas, Multiple GraphQL Servers #126

Closed hmolinari-attentive closed 2 years ago

hmolinari-attentive commented 2 years ago

Is there any chance that the graphql-java-generator maven plugin will be able to generate classes for a list of schemas? For example, generate classes for schema A, put in package M, put in folder X, generate classes for schema B, put in package N, put in folder Y, etc.

hmolinari-attentive commented 2 years ago

In the case that my application (spring or not) needs to communicate with the GraphQL APIs of multiple providers

etienne-sf commented 2 years ago

RTFM

This is already possible. Check this page : https://github.com/graphql-java-generator/graphql-maven-plugin-project/wiki/client_more_than_one_graphql_servers