Open marshall007 opened 5 years ago
Support for NodeID
in custom functions would also be an acceptable solution here (see https://github.com/graphile/postgraphile/issues/979). You could imagine these mutations being implemented with a signature like:
public.set_all_user_to_organizations(u public.users, o public.organizations[])
I certainly prefer the function approach 👍
In the special case of mapping tables (i.e. where all columns of the table definition can be represented as
nodeId
s), it would be nice if additional default CRUD methods were exposed for operating on them as a set ofnodeId
s. For example: