Skip to content

Allow tag directive on filter and sort types #9171

@madiganz

Description

@madiganz

Product

Hot Chocolate

Is your feature request related to a problem?

I'm using v15.1.12 and I need to be able to tag any type including filter and sort types (and fields). I need to be able to set tags in order to exclude them from the fusion composition process. Looks like I can manually set tags via .Directive(new HotChocolate.Types.Tagnew HotChocolate.Types.Tag("my-custom-tag")) however this doesn't match the normal convention of either using the descriptor extension or attribute.

The solution you'd like

Adding tags is possible on everything through descriptor extension or attribute. Preferrable this is also added to v15 as I don't think we can immediately port some of our code to v16 (and it's not released/stable yet).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions