Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove or Exclude resolver or fields from Object on sdl export #1741

@hamracekk

Description

@hamracekk

My system consist of 2-3 schemas based on the endpoint. I would like to reuse complex types in all of them but to be able export sdl schema hiding/excluding some fields based on one parameter. Is there a simple way how to do it without #[cfg(feature = "..."] ? I know there is visible and guard but those directives wont hide it from the schema right ? Some advices ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions