You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some mutations are extremely flexible. However, in GraphQL you can quite simply do multiple mutations at the same time.
Therefore it is possible to split some mutations into a specific one.
Here we use the same votationId input on all the mutations. Non-significant difference in performance because everything is done in the same POST call. We should not create a pure CRUD API, rather specific ones which helps
Might be nicer to do compared to have mutations with a lot of Nullable values. The fewer nullable values, the more specific and fault-tolerant the system is.
The text was updated successfully, but these errors were encountered:
Some mutations are extremely flexible. However, in GraphQL you can quite simply do multiple mutations at the same time.
Therefore it is possible to split some mutations into a specific one.
Here we use the same votationId input on all the mutations. Non-significant difference in performance because everything is done in the same POST call. We should not create a pure CRUD API, rather specific ones which helps
Might be nicer to do compared to have mutations with a lot of Nullable values. The fewer nullable values, the more specific and fault-tolerant the system is.
The text was updated successfully, but these errors were encountered: