How to fix the GraphQL error when you have two fields with the same value and need to specify a relation directive.