I can't figure out how to make it so that the elements of the array are non nullable using annotation-based HotChocolate. I'm looking to create a gql schema for my class that looks like:
foos: [Foo!]!
However, at the moment all I've been able to come up with for my class is:
class Bar
{
[GraphQLNonNullType]
public List<Foo> foos {get; set;}
}
I am using C# 9.0