You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once we have a list of ProductDTO objects we typically don’t need specialised data fetchers on each field. graphql-java ships with a smart graphql.schema.PropertyDataFetcher that knows how to follow POJO patterns based on the field name. In the example above there is a name field and hence it will try to look for a public String getName() POJO method to get the data.
In RecordLayer.java:
We are doing this because:
https://www.graphql-java.com/documentation/v11/data-fetching/
The text was updated successfully, but these errors were encountered: