Adam Hannigan
Jul 11, 2021

--

That is a good point.

My view is that the lower the level that you are able to mock, the more accurate the flow of data throughout the application will be.

Mocking closer to the application layer usually involves assumptions around the data and requests that will be made.

Given that GraphQL schema is heavily typed we can safely make assumptions of the returning network data.

--

--