Skip to content

Improve how Querydsl and Query by Example auto registration fits in the hierarchy of DataFetcher registrations #244

Closed
@dugenkui03

Description

@dugenkui03

I think the goal of AutoRegistrationTypeVisitor#hasDataFetcher is that: determine whether the field bind customized DataFetcher, instead of default DataFetcher.

return (fetcher != null && !(fetcher instanceof PropertyDataFetcher));

But user can change the default DataFetcher of GraphQL Java by GraphQLCodeRegistry#defaultDataFetcherFactory. It will be more accurate to replace PropertyDataFetcher to DefaultDataFetcher.

Metadata

Metadata

Assignees

Labels

in: dataIssues related to working with datatype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions