Skip to content

Ignoring operation in the FilterInputType does not work #7096

Closed as not planned
Closed as not planned
@marekbomber

Description

@marekbomber

Product

Hot Chocolate

Version

13.9.1

Link to minimal reproduction

tbd

Steps to reproduce

public class MyTypeFilterType : FilterInputType<MyType>
{
    protected override void Configure(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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions