Describe the bug
When there is a custom FK in a relation that the FK is not unique, the data will be duplicated. Without a paginator the data is correct.
Expected behavior/Solution
The PaginatedModelsLoader union part, must be optimized.
Steps to reproduce
- Run testQueryPaginatedHasManyWithNonUniqueForeignKey().
Output/Logs
Click to expand
# Add in log output/error messages here
Lighthouse Version
latest