@Component
@Transactional(propagation = Propagation.REQUIRES_NEW)
class UserMutations(val gropiusUserService: GropiusUserService, val imsUserService: IMSUserService) : Mutation

Contains all User-related mutations

Parameters

gropiusUserService

used for GropiusUser-related mutations

imsUserService

used for IMSUser-related mutations

Constructors

Link copied to clipboard
constructor(gropiusUserService: GropiusUserService, imsUserService: IMSUserService)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
@AutoPayloadType(description = "The created GropiusUser")
suspend fun createGropiusUser(input: CreateGropiusUserInput): GropiusUser

Creates a GropiusUser

Link copied to clipboard
@AutoPayloadType(description = "The created IMSUser")
suspend fun createIMSUser(input: CreateIMSUserInput): IMSUser

Creates an IMSUser

Link copied to clipboard
@AutoPayloadType(description = "The updated IMSUser")
suspend fun updateIMSUser(input: UpdateIMSUserInput): IMSUser

Updates an IMSUser