gatsby-plugin-i18n
gatsby-plugin-i18n copied to clipboard
Warning: plugin used reserved field name "path"
The Gatsby build throws this warning (does not seem to lead to bugs but should be fixed I guess):
12:46:53 PM: warning The plugin "gatsby-plugin-i18n" used a reserved field name in the context object when creating a page:
12:46:53 PM: * "path"
12:46:54 PM: {
12:46:54 PM: "path": "/en/blog/2015-09-04-born-to-be-good/",
12:46:54 PM: "component": "/opt/build/repo/src/templates/blog-post.js",
12:46:54 PM: "context": {
12:46:54 PM: "path": "/en/blog/2015-09-04-born-to-be-good/",
12:46:54 PM: "langKey": "en"
12:46:54 PM: },
12:46:54 PM: "layout": "en"
12:46:54 PM: }
somebody found a workaround to resolve it?
Hi :wave:
Correct me if I'm wrong: this has been fixed in #56, but the warning remains for backward compatibility?
Thank you :raised_hands:
@sedubois how do you resolved the problem? I have that problem too
@RafaelEsaa I stopped using this plugin as it had various issues and wasn't quite necessary for me.
Any resolve on this one? I'm still seeing this warning on build.
Edit: I ended up just patching it myself.