MichalLytek / MichalLytek/type-graphql

Update directives docs

Open
#965 15 comments 12 reactions 0 assignees View on GitHub
Community :family_man_girl: Documentation :book:
Dominant language
TypeScript
Stars
8.1k
Forks
672
PR merge metrics
No merged PRs in 30d

Description

Since graphql-utils had updated their package to version 8.0.0, the current docs don't help users to build their resolvers with directives into the new format of graphql-utils.
It'll be awesome if you guys can insert some examples of how to upgrade to version 8.0.0. Since SchemaDirectiveVisitor.visitSchemaDirectives has been removed and with makeExecutableSchema don't include the @Directive decorator into SDL, I don't know how to make the @Directive appear into resolver SDL.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating the current directives documentation and reviewing the graphql-utils 8.0.0 changes to SchemaDirectiveVisitor.visitSchemaDirectives and makeExecutableSchema; done means adding working resolver and directive upgrade examples for the new format.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.