You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassMyTypeFilterType:FilterInputType<MyType>{protectedoverridevoidConfigure(IFilterInputTypeDescriptor<MyType>descriptor){
descriptor.Ignore(DefaultFilterOperations.Equals);// not working
descriptor.Operation(DefaultFilterOperations.Equals).Type<StringType>().Ignore();// not working
descriptor.Operation(DefaultFilterOperations.Equals).Type<StringOperationFilterInputType>().Ignore();// not working}}
What is expected?
I would like to be able to ignore operations in the filter definition.
What is actually happening?
Operations are not ignored.
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Standard registration IRequestExecutorBuider.AddType(typeof(MyTypeFilterType ));
Registration is correct because ignoring properties works.
`
publicclassMyTypeFilterType:FilterInputType<MyType>{protectedoverridevoidConfigure(IFilterInputTypeDescriptor<MyType>descriptor){
descriptor.Field(x => x.MyProperty1).Ignore();// working
descriptor.Field(x => x.MyProperty2).Description("description 2");// working
descriptor.Ignore(DefaultFilterOperations.Equals);// not working
descriptor.Operation(DefaultFilterOperations.Equals).Type<StringType>().Ignore();// not working
descriptor.Operation(DefaultFilterOperations.Equals).Type<StringOperationFilterInputType>().Ignore();// not working}}
``` `
Product
Hot Chocolate
Version
13.9.1
Link to minimal reproduction
tbd
Steps to reproduce
What is expected?
I would like to be able to ignore operations in the filter definition.
What is actually happening?
Operations are not ignored.
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: