-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistently handle proxied beans in DgsSchemaProvider
Ensure that we are consistently handling proxied beans in DgsSchemaProvider by refactoring some of the logic to retrieve annotated methods; after fetching DgsComponent-annotated beans, use a new internal wrapper class, DgsBean, that correctly handles proxies, and includes a helper method to retrieve all methods decorated with a particular annotation. In addition to making the handling consistent, moving the logic to the DgsBean wrapper class avoids repeated unwrapping of proxies and allocations.
- Loading branch information
Showing
1 changed file
with
45 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters