Running with 4.1.0-preview.2 on dotnet 7.0 i am having an issue with the following input type. Both fields are nullable/optional. The server would expect one of them to be provided:
The generated code treats both of them as required and tries to get the values of the fields, even if they can be null. This leads to a System.NullReferenceException
It should be possible to send input objects with nullable properties.
Running with 4.1.0-preview.2 on dotnet 7.0 i am having an issue with the following input type. Both fields are nullable/optional. The server would expect one of them to be provided:
The generated code treats both of them as required and tries to get the values of the fields, even if they can be null. This leads to a
System.NullReferenceException
It should be possible to send input objects with nullable properties.