title: How to get requested GraphQL fields in C#?
body: <p>I'm working on a GraphQL -&gt; SQL parser that includes some joins, so it makes a performance difference whether a certain field is requested. Is there a way to find that out?</p>
  <p>I'm learning about object types, so I think it might have something to do with setting a resolver on it. But a resolver works at the level of the field that's being requested independently of other things. Whereas I'm trying to figure out on the top-most Query level <em>which</em> fields have been requested in the GraphQL query. That will shape the SQL query.</p>
  <pre><code>public class QueryType : ObjectType&lt;Query&gt;
  {
      protected override void Configure(IObjectTypeDescriptor&lt;Query&gt; descriptor)
      {
          descriptor
              .Field(f =&gt; f.GetACUMonthlySummary(default!, default!, default!, default!, default!, default!))
              .Type&lt;ListType&lt;ACUMonthlySummaryType&gt;&gt;();
      }
  }
  </code></pre>
  <p>I saw related questions for js, but didn't find any examples specifically in C# and HotChocolate, which is what we're using.</p>