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.

--

--

Adam Hannigan
Adam Hannigan

Written by Adam Hannigan

Creator of Sunflower Land. Come help us build the future of Web3 gaming! https://github.com/sunflower-land/sunflower-land

Responses (1)