You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have 49 test files with 23 mocked query data. If we renamed a single field, we'll have to update most of the mocks in our GraphQL type definitions. That's too much work.
This article tackles the issue of hard coding our mocks and provides a solution for it. Using the auto-generated introspection JSON file, we will create a dummy GraphQL server that responds with the right query mock.