absinthe-graphql / absinthe

The GraphQL toolkit for Elixir
http://absinthe-graphql.org
Other
4.29k stars 527 forks source link

Include deprecated input_fields for absinthe.schema.json #1345

Open aaronrenner opened 3 weeks ago

aaronrenner commented 3 weeks ago

Fixes https://github.com/absinthe-graphql/absinthe/issues/1327. The deprecated input fields are no longer included in the mix absinthe.schema.json file due to three new includeDeprecated arguments which default to false created in https://github.com/absinthe-graphql/absinthe/pull/1291. This adds includeDeprecated: true in the introspection query for each of these arguments.

I also added test coverage to ensure these test fields are actually being included.