Add support for repeatable directives
See original GitHub issueDescribe the bug symbols not defined in the correct order, seem to say they’re not defined.
ie;
interface Node @source(...) { }
directive @source(...) repeatable on ENUM | OBJECT | INTERFACE | UNION | INPUT_OBJECT | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | ARGUMENT_DEFINITION | ENUM_VALUE
Doesn’t like that source
isn’t defined—and yet it is.
Which leads me into a second issue;
It doesn’t like the repeatable
keyword used.
To Reproduce
- make the above your schema
- look at errors
Expected behavior Be happy
Version and Environment Details Operation system: Windows10 IDE name and version: WebStorm 2020.1.3 Plugin version: 2.5.0
Additional context
Seems to not like anything defined after it had been used
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:11
Top Results From Across the Web
Add support for repeatable directives · Issue #351 - GitHub
Describe the bug symbols not defined in the correct order, seem to say they're not defined. ie; interface Node @source(...) { } directive...
Read more >Federation-specific GraphQL directives
To check whether your subgraph library supports repeatable directives, see the repeatable @key item in Federation-compatible subgraph implementations.
Read more >Developers - Add support for repeatable directives - - Bountysource
Add support for repeatable directives. ... GraphQL language support for IntelliJ IDEA and WebStorm, including Relay.QL tagged templates in JavaScript and ...
Read more >Directives | GraphQL Kotlin
GraphQL supports repeatable directives (e.g. Apollo federation allows developers to specify multiple @key directives).
Read more >Directives - GraphQL .NET
Repeatable directives are often useful when the same directive should be used with different arguments at a single location, especially in cases where ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lorado hi, I remember about it and plan to implement it during this month.
@stayallive @maraisr actually I’m working on it right now. I’m preparing a v3 update in a separate branch https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/tree/v3, where the process of working with a schema is completely reworked, which will help resolve a lot of issues, especially in scenarios when the schema is split between different files. Also, I’m implementing all the missing parts in the spec: descriptions for schema definitions,
extend schema
definitions and repeatable directives. We plan to start testing it this week and release ASAP.