Fix postgraphile websocket/subscription omission path#31
Fix postgraphile websocket/subscription omission path#31jonathanpeterwu wants to merge 1 commit intographile:mainfrom
Conversation
|
Please also update the yarn lock (assuming an upgrade is required to trigger the issue?) |
|
Updated with package upgrade |
| new webpack.NormalModuleReplacementPlugin( | ||
| /postgraphile\/build\/postgraphile\/http\/subscriptions\.js$/, | ||
| /postgraphile\/build-turbo\/postgraphile\/http\/subscriptions\.js$/, | ||
| `${__dirname}/src/postgraphile-http-subscriptions.js` | ||
| ), |
There was a problem hiding this comment.
I don't think this is actually a fix unless you've set GRAPHILE_TURBO which I don't think is set by default.
Instead, please throw away the yarn.lock changes and duplicate this above block - once for non-turbo and once for turbo.
Thanks!
|
@benjie is there a reason in particular we would not want to update to the most recent version of postgraphile? |
|
No; just that I've tested this on older versions and I don't fancy testing it again because working with Lambda is a PITA. I'd rather go with a "known good" version. |
b103d60 to
bbe9cd1
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Description
On build for the lambda example webpack bundling fails on omission of subscriptions.js as the npm install path has changed
yarn lint:fixpasses.