@Provides Directive Unexpected Error
See original GitHub issueReproduction Repo: https://github.com/ksaldana1/provides-fed-repro
I am pretty confused by what I am seeing here. I followed the example from the docs, and from what I can tell the structure I have isn’t any different from the example provided in the federation-demo, but maybe I’m missing something really obvious.
Despite me labeling my fields, I’m still getting error messages such as :
UnhandledPromiseRejectionWarning: GraphQLSchemaValidationError: [users] Kitchen.name -> is marked as @external but is not used by a @requires, @key, or @provides directive.
This was happening on a larger project and seemed to continue when I scaled it down.
Thanks for all your hard work! Federation is really awesome!
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Uncaught Error: Unexpected directive 'MyComboBox' ...
This error frequently comes up when we are not importing , providing , or declaring the angular modules , services , components properly....
Read more >Syntax error, unexpected '<' on custom directive
Hi all! I would like to write a custom blade directive like this one: public function boot() { Blade::directive('f', function($fileReference) { return "" ......
Read more >Fatal Error C1020
This error can occur if you have conditional preprocessor directives before you include a precompiled header file. The compiler ignores ...
Read more >Introduction to Error Handling Help Docs
Error handling directives · Resume allows you to specify a substitute output for the module with the error and the scenario execution status...
Read more >Common Nginx Syntax Errors
Nginx's unknown directive Error. As mentioned previously, the foundation of an Nginx configuration file is built on directives. Nginx has a ...
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
Thanks for getting this fixed @JakeDawkins ! The first time I read through the federation docs I thought “I don’t think I’ll need these advanced features…”, but then after I grokked them it felt hard to live without. So thanks for being one step ahead on the features!
Thanks! I’ve just found out my error was due to my own ignorance. I forgot to specify the @key directive on the type I’m extending. When including that it resolved my issue.