inline suspend fun <D : Mutation.Data> mutation(imsProject: IMSProject, users: List<User>, body: Mutation<D>, owner: List<GropiusUser>): Pair<IMSUser, ApolloResponse<D>>
Send a mutation to the IMS
Return
The selected user and the response for the mutation
Parameters
imsProject
The IMSProject to work on
users
The users sorted with best first
body
The content of the mutation
owner
The user that created the data, empty if fetching/other non-owned operations
Type Parameters
D
The type of the mutation to send