leangen / graphql-spqr

Build a GraphQL service in seconds
Apache License 2.0
1.09k stars 179 forks source link

Inherit annotations from overridden methods #402

Open kaqqao opened 2 years ago

kaqqao commented 2 years ago

Many frameworks (Spring, Quarkus...) generate classes/proxies dynamically, obscuring the original bean types. This effectively loses method-level annotations (as they are not inherited) and SPQR can fail to generate the correct schema as a result. This is exemplified in #394.