graphql-metadata
JSON →graphql-metadata (v0.7.6, no recent releases) allows attaching metadata to GraphQL schemas using directive-like syntax embedded in description strings. It supports three formats: deprecated annotations (namespaced key-value pairs), markers (simple key-value), and metadata (full directive syntax with arguments). Unlike GraphQL directives, which require schema definition changes, this library works purely with strings, making it useful for tools like code generators or ORMs. It includes TypeScript definitions and peer depends on graphql ^0.12–^15.
Resources
packagegraphql-metadata ↗