Closed im-not-a-robot closed 4 years ago
Hey,
Cannot return null for non-nullable field CityDistrict.country
It could be that your DB request in the BatchLoader::GraphQL
block doesn't return any values
Hey,
Cannot return null for non-nullable field CityDistrict.country
It could be that your DB request in the
BatchLoader::GraphQL
block doesn't return any values
Yes i know, But when im debug inside block, it will return the correct value Have solution?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Hi, Any suggest for this ??
Hi i have a project that use graphql and batch loader But i can't used in nested relation.
I have 3 table on my projects (Countries, Provinces, CityDistrict) When i get all the province on certain country, i can get it without n+1 problem. But the problem is i can't get country without n+1 problem.
i.e graphql query :
FYI: 'object' is city district it self
City District Graphql Types:
Result : Cannot return null for non-nullable field CityDistrict.country
Any solution ?