I have an input class that has a single property with "object" object type as shown below:
public class FilterParameterValue
{
public object Value = new object();
}
When I start the server, I get the following error:
HotChocolate.SchemaException: 'For more details look at the Errors property.
InputObject FilterParameterValueInput has no fields declared. (HotChocolate.Types.InputObjectType<Data.Filter.FilterParameterValue>)
When I add another property to the class with a different type, I do not get the error. However, when I check the FilterParameterValueInput in Banana Cake Pop, the property with "object" object type does not appear.
I tried BindFieldsExplicitly and declare the Value property but it no luck. Am I missig something? Or is there a workaround to this issue?
Thanks a lot!
I am expecting to see the property with type "object" in the Input object properties.
New contributor