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

Add descriptions for input parameters if they exist (Complement #164) #167

Closed dpalmmna closed 1 year ago

dpalmmna commented 1 year ago

After correction of #164 the descriptions for input parameters are not used.

Proposed to add the descriptions if they exist.

Joined proposed code modifications to add these descriptions.

graphql-maven-plugin-logic\src\main\java\com\graphql_java_generator\plugin\DocumentParser.java graphql-maven-plugin-logic\src\main\resources\templates\client_query_mutation_executor.vm.java graphql-maven-plugin-logic\src\main\resources\templates\client_subscription_executor.vm.java proposed-modifications.zip

etienne-sf commented 1 year ago

I'll check that. If you've done the code modification, can you do a Pull Request on github for that ? It would be easier for me to check the changes.

Etienne

etienne-sf commented 1 year ago

Released in the 1.18.10 version