I consider to use apollo in an upcoming project. I understand the advantages of graphql queries compared to the pubsub system. However I don’t quite understand if there is any difference between mutations and methods.
Queries are flexible (i.e. the schema can be queried in many different ways without changing anything), but mutations are a 1:1 mapping between intent and implementation. I.e. If I want it to do something else I need to change the code. So it seems to me that methods and mutations are pretty much the same. It is just a way to call a server function from the client.
My plan is to use graphql to get data and to stick with meteor methods. This way I am fully database agnostic, and still get the simplicity of validated methods over graphql mutations.
Did I miss any reason for why I should use mutations instead (I haven’t had a deep look into them)