Skip to content

ConditionalNodes and FieldCollector can't be extended to include customized query directives #1811

@linqi

Description

@linqi

In my use case, I want to introduce some query directives that function similarly to @Skip and @include, for example @FeatureFlag.

In the current implementation, ConditionalNodes and FieldCollector are all sealed variables in their usages and can't be easily extended. In order to do so, I have to create a code copy of lots of classes.

Can we make FieldCollector extendable for new ConditionalNodes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions