RequestLeaveResult
The outcome of requestLeave: either the created request, or the business reason it could not be created.
union RequestLeaveResult = LeaveRequestCreated | LeaveValidationError
Possible types
RequestLeaveResult.LeaveRequestCreated object
Returned when the leave request was accepted and stored.
RequestLeaveResult.LeaveValidationError object
Returned when the leave request was rejected for a business reason rather than a transport or permission failure.
Returned By
requestLeave mutation