You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception creating synchronous session from Client: Unknown argument includeDeprecated #564
Common problems
I checked the log...
Early in the log their is a:
2025-09-02 05:10:45,315 dsl DEBUG Creating <DSLField __Directive::args>
2025-09-02 05:10:45,315 dsl DEBUG Added arguments {'includeDeprecated': True} in field <DSLField __Directive::args>)
And then later on:
2025-09-02 05:10:45,483 httpx DEBUG <<< {"data":null,"errors":[{"message":"Unknown argument \"includeDeprecated\" on field \"args\" of type \"__Field\".","locations":[{"line":33,"column":10}]},{"message":"Unknown argument \"includeDeprecated\" on field \"inputFields\" of type \"__Type\".","locations":[{"line":42,"column":15}]},{"message":"Unknown field \"isDeprecated\" on type \"__InputValue\".","locations":[{"line":66,"column":3}]},{"message":"Unknown field \"deprecationReason\" on type \"__InputValue\".","locations":[{"line":67,"column":3}]},{"message":"Unknown argument \"includeDeprecated\" on field \"args\" of type \"__Directive\".","locations":[{"line":19,"column":12}]}]}
Describe the bug
Just upgraded to gql 4.0.0 from 3.5.3
introspection now requests deprecated input fields by default (#553)
Some backends do not support that. You could either remove fetch_schema_from_transport=True if you don't want the schema, or you could go back to the previous behavior with
Activity
leszekhanusz commentedon Sep 2, 2025
From the breaking changes in 4.0, there is:
Some backends do not support that. You could either remove
fetch_schema_from_transport=Trueif you don't want the schema, or you could go back to the previous behavior withFrankC01 commentedon Sep 2, 2025
@leszekhanusz
Thank you, I must have missed or didn't understand the correlation in the release notes.