How to Retrieve and Bind Date Value in GraphiQL

Hello everyone,

I am currently working with GraphiQL and facing an issue while retrieving a date field.

Specifically, I would like to know:

  • How to correctly fetch a date value from a GraphiQL response?

  • What is the proper way to access the date field (for example, from nested items like items[0].textValue)?

  • How can I convert and bind this date value correctly in my C# code?

I am encountering difficulties when trying to extract and assign the date value to a field, especially when dealing with null values or incorrect data formats.

Any guidance or examples on handling date fields in GraphiQL and binding them in C# would be greatly appreciated.