Closed
Description
I want to create an input scalar type in my schema. It should take an integer on input and in internal use it would return an entity with this integer as its ID. If particular entity will not exist, error should appear in GraphQL client.
The problem is, that scalar methods are static, and I cannot access entity repository or anything in dependency container. On webonyx those methods aren't static. What can be done here?
Metadata
Metadata
Assignees
Labels
No labels