DEV Community

Discussion on: What are the cons of GraphQL?

 
benbot profile image
Benjamin Botwin

The big draw to Apollo for me is honestly not so much the caching, alththats a big plus, but the fact that GraphQL-codegen can make fully typed Apollo hooks for each GraphQL query or mutation I write.

It’s magical.

Thread Thread
 
gklijs profile image
Gerard Klijs

Clojurescript isn't typed so that won't work :P. Although you could build something similar using spec. You could even use generative testing out of the box that way for components created that way.