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
Idk if its up-to-date but maybe it helps some other guys.
The Client does not support mutations natively. But in the end mutations are http requests as well as queries. So, in order to have a Client that behaves for mutation operations analogous to the underlying api you need to inject the other methods like delete, delete_by, put, put_by and so on and implement the handle callbacks in the client.
Example a Behvaiour that can be applied to any client:
The Context should also simply map its function to client().post_by etc. You can also achieving that by writing some Context-Macro that maps these functions implicitly.
I don't know why the team didn't include the mutation operations as part of the standard api.
Does this client offer the ability to perform mutations on an endpoint? Looked thru the doc and can't seem to find any.
The text was updated successfully, but these errors were encountered: