Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

graphQL and mandatory field

$
0
0

1. when the end user request for a graphql query, if there is an issue i have a field that will return the description of an error,

for that i am using the property called "message".

the problem is that  if the user is not requesting for the field, he don't get it.

is there a way to make this field mandatory that the use can't avoid requesting it?

2. i created 2 methods but i see omly the first one.

i set both of them in the startup.cs.

what can i be missing?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>