graphql-kit / graphql-voyager

🛰️ Represent any GraphQL API as an interactive graph
https://graphql-kit.com/graphql-voyager/
MIT License
7.69k stars 504 forks source link

[DEMO]: all fields from an SDL are marked as deprecated #374

Closed LunaticMuch closed 5 months ago

LunaticMuch commented 9 months ago

Fix #373 - as the deprecation reason might be null or non existing, the logic cannot show the DEPRECATED label for any field where the deprecation reason is just not null.

It can be tested with this schema. Only the two deprecated fields are shown as deprecated.

Screenshot 2023-10-02 at 20 54 01