-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transformHeaders
does not pass the path
parameter
#275
Comments
This is an URGENT blocker to gatsby cloud porting, please fix |
The deadline for some customers to move from Gatsby Cloud to Netlify is 9/29. Unfortunately, there are many issues with Gatsby Adapters so being able to have same functionality with Any chance someone can review #276? FYI - For anyone moving to Netlify from Gatsby cloud and planning on using |
Thank you for putting up the fix. I hope it can be merged soon - this is a blocker for our migration. |
Netlify have stated they are not going to fix this issue. Consider this plugin unmaintained - they've no interest in supporting customers on Gatsby versions lower than 5. |
Hi @isobel-taylor, thanks for the update although I'm hopeful that Netlify reconsiders their position on this. Netlify folks - Completely understand the preference to retire Most notably, this effects Gatsby Cloud customers migrating to Netlify that were using the Further complicating the issues are that Gatsby forces To summarize:
Once Adapters have feature parity and the issues resolved, retiring Thank you! |
Thanks @techfg for raising this. I have merged the PR. We should be able to get the release out soon. @isobel-taylor I'm sorry if you got the impression that we're not fixing things in this plugin. That's absolutely not the case, and we will still maintain it for as long as we need to support older versions of Gatsby. Re disabling adapter: we're investigating the best immediate approach there - whether it's ensuring feature parity (which is the ideal), or just allowing them to be disabled. We will get back to you all with updates once we've worked out the best approach. Thanks everyone for your patience. |
The fix for this is live in version 5.1.1. Thanks again @techfg |
Thanks for reviewing and merging, great news! Glad to hear that plans are in the works to gain feature parity and/or provide an official way to disable adapters. FWIW, along with addressing the issues with adapters, gaining feature parity would provide most customers a zero-config approach (one of the goals of adapters) while having an official way to disable also would serve those that either need more control over their build process or are just simply building on Netlify but deploying elsewhere (that doesn't have an adapter). While that all gets worked out and with the first deadline approaching quickly (9/29) for Gatsby Cloud to Netlify migration with others sooner to follow, any idea timeline wise on when we might hear more on the final plans? Thanks again! |
According to the docs,
transformHeaders
should provide thepath
parameter when invoked, however it is not currently passed (only the header values array is passed).The path is required for special case handling of headers during transformation and the parameters should match the docs.
The text was updated successfully, but these errors were encountered: