I have a mutation method implemented as follows:
public async Task<Project> ChangeProjectStatus(
Guid projectId,
ProjectStatus status
) {
return ...<non-null result>...;
}
The generated SDL looks as follows:
type CreateProjectPayload {
project: Project
}
Is there a way to configure HotChocolate to generate a project field to be of type Project! rather than Project (nullable)? (using an OOB convention configured globally with .AddMutationConventions())