Open hisapy opened 6 years ago
In order to mock interfaces a developer should be able to pass preserveResolvers option to addMockFunctionsToSchema() inside getNetworkLayer().
preserveResolvers
addMockFunctionsToSchema()
getNetworkLayer()
The API would then look likegetNetworkLayer({schema, mocks, resolvers, preserveResolvers})
getNetworkLayer({schema, mocks, resolvers, preserveResolvers})
@hisapy sorry for the delayed reply. I'd be happy to merge a PR with this change.
In order to mock interfaces a developer should be able to pass
preserveResolvers
option toaddMockFunctionsToSchema()
insidegetNetworkLayer()
.The API would then look like
getNetworkLayer({schema, mocks, resolvers, preserveResolvers})