-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: False Positives in Default Resolver Setup
During the configuration of default resolvers for Frappe DocTypes and fields, the type_name is utilized to determine if it is a doctype. Additional resolver setup is then performed on the fields of the identified doctype. However, there are instances where GraphQLEnumTypes have similar names to doctypes, in which case, further resolver setup should not be applied. This PR ensures that resolver setup is only performed on GraphQLObjectTypes. Co-authored-by: Fahim Ali Zain <[email protected]> Merge-request: ROMMAN-MR-627 Merged-by: Fahim Ali Zain <[email protected]>
- Loading branch information
1 parent
807d355
commit fd34023
Showing
2 changed files
with
44 additions
and
3 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
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