smallrye-graphql: Don't repeat `Input`

If an input parameter type already ends with Input, e.g. SuperHeroInput, the generated schema shouldn’t repeat it to become SuperHeroInputInput.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 2
  • Comments: 26 (6 by maintainers)

Most upvoted comments

That worked. Thank you very much 😃

This has nothing to do with @Mutation vs. @Query. If it’s a parameter (also in a nested method, BTW), then it’s an Input. If it’s being returned somewhere, it’s (also) a Type.

@phillip-kruger any thoughts on the above?