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.

Client schema directives support

See original GitHub issue

Hi, When validating schema I’m getting errors about @connection directive:

- Unknown directive connection.

Is there a way to allow usage of custom directives in documents?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
kamilkisielacommented, Aug 9, 2019

#505 should add Apollo specific directives. In order to use custom directives, you can just include their definitions in the GraphQL Schema.

0reactions
steebchencommented, May 2, 2019

Also there is @client for local state management

Read more comments on GitHub >

github_iconTop Results From Across the Web

Directives - Apollo GraphQL Docs
A directive decorates part of a GraphQL schema or operation with additional configuration. Tools like Apollo Server (and Apollo Client) can read a...
Read more >
Schema Directives – GraphQL Tools
Using and implementing custom directives to transform schema types, fields, and arguments.
Read more >
Using schema directives - Apollo Server - Apollo GraphQL Docs
To use a custom schema directive, pass the implemented class to Apollo Server via the schemaDirectives argument, which is an object that maps...
Read more >
How to use GraphQL Directives efficiently - Level Up Coding
The Schema Directives are defined in the schema itself and run while building it, and they are used by the schema designer. ·...
Read more >
Categorizing GraphQL Directives into Schema or Query Type
The directives in this section are those that make sense both within the context of the server, to help configure the schema, and...
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