-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Improves loading of Push Adapter, fix loading of S3Adapter #833
Conversation
Can you also update the docs to describe the new options? |
Sure! |
@flovilmart updated the pull request. |
Current coverage is
|
2fbcd1b
to
764c563
Compare
@flovilmart updated the pull request. |
// incompatible | ||
try { | ||
return loadAdapter(defaultAdapter, undefined, adapter); | ||
} catch (e) {}; | ||
} | ||
// return the adapter as is as it's unusable otherwise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment still correct, or will it just return the object representing the adapter (which is presumably usable)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah? That retuns the adapter as not other loading method seems to be available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh man, I totally misread that, somehow turned that into "return the adapter as it's unusable". Might I suggest "return the adapter as provided" or something similar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
- Adds environment variables to configure S3Adapter
764c563
to
a44b1d9
Compare
@flovilmart updated the pull request. |
Improves loading of Push Adapter, fix loading of S3Adapter
Fixes #820
Fixes #832