When a new relationship between objects is created, the relation is not available in GraphQL until the Portal is restarted.
Steps to reproduce:
- Create an Object Manager with an ObjectField name and publish it
- Create an Object Employee with an ObjectField name and publish it
- Add a OneToMany relationship to Employee from the Manager Object
- Make a GraphQL query to employees that contains the manager property like
Expected result: The query is valid and a valid response is returned
Result: Error response telling the query is invalid. (It will work after restarting the Portal)