Reputation: 847
I'm trying to build a mocking infrastructure for our react client. Getting confused between the two.
Upvotes: 1
Views: 607
Reputation: 5765
buildClientSchema vs makeExecutableSchema
If you want to mock and test the return (query) data use makeExecutableSchema if is just to test the schema type definitions use buildClientSchema.
It always comes into what you need to test.
Upvotes: 1