0

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())

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.