cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

Deprecated input field is no longer part of the introspected schema

Open awartoft opened this issue 4 months ago • 1 comments

Component(s)

router

Component version

36d404f4ead6

wgc version

latest

controlplane version

N/A

router version

36d404f4ead6

What happened?

Description

Marking a input field as deprecated remove it from the introspection schema response

Steps to Reproduce

input Foo {
 bar: String!
 baz: String @deprecated(reason: "hello world")
}

Expected Result

When I introspect the schema I should get both bar & baz

Actual Result

I only receive bar

Environment information

Environment

OS: (e.g., "Ubuntu 20.04") Package Manager: pnpm, npm, yarn, etc Compiler(if manually compiled): (e.g., "go 14.2")

Router configuration


Router execution config


Log output


Additional context

No response

awartoft avatar Jul 14 '25 09:07 awartoft