Mocking GraphQL Operations: Hand-Wired Routes vs a Schema-Driven Mock
DEV Community
Mocking GraphQL Operations: Hand-Wired Routes vs a Schema-Driven Mock
GraphQL mocks should resolve fields from the schema, not return fixed objects, so responses match the operation's actual selection.
0 comments
No comments yet.