I've just started developing a graphQL API using graphql-dotnet. I've searched through the documentation but I couldn't find anything on what to do if a record is not found for given arguments. The reference implementations I checked (github, starwars graphql implementations etc) return null, and some of them include an errors field with some additional detail.
What I'm wondering is, are there any established best practices for this and how to handle it in an elegant way with graphql-dotnet.
Thank you.