question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Types that lack an "isDeprecated" are included in the deprecation list by default

See original GitHub issue

As of v1 the isDeprecated field defaults to true if it is not found or defined, which can be seen here. This behavior changed from the v0.x behavior where fields without an isDeprecated field are simply being ignored, which is also what you’d expect.

The issue we are running into is that our graphql server (graphql-dotnet) omits the isDeprecated field for input type fields that are not deprecated, which is now causing the “Show deprecated fields” button to pop up and contain all fields when clicked.

image

Was this change done deliberately, and would you be ok with a PR that reverts this to the v0.x behavior?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
harshithpabbaticommented, Jun 27, 2020

can I make a PR for this @acao?

1reaction
acaocommented, Sep 6, 2020

we have to restructure the repo a bit before we can make the next release to graphiql 1.x, so, sometime in the coming weeks when i get a chance! stay tuned!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Publication 946 (2021), How To Depreciate Property - IRS
This publication explains how you can recover the cost of business or income-producing property through deductions for depreciation (for example, the special ...
Read more >
Depreciation of Business Assets - TurboTax Tax Tips & Videos
These tips offer guidelines on depreciating small business assets for the best tax advantage. An asset is property you acquire to help produce ......
Read more >
General Depreciation Rules - Federal - Topics
See MACRS Depreciation. An asset that is not subject to MACRS or ACRS cannot be depreciated below a reasonable salvage value.
Read more >
Deprecated List (Java Platform SE 8 ) - Oracle Help Center
This class is deprecated as of version 1.3 of the Java Platform. This class implements a deprecated interface, AttributeList ; that interface has...
Read more >
Deprecations by version - GitLab Docs
These fields are deprecated and we plan to remove them in v1.0 of the GitLab Runner Helm chart. GitLab Runner registration token in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found