The reported issue is caused by an issue originating from a specific version of a user-supplied third party dependency.
I propose addressing it by including a section in the readme to warn developers about when it occurs and providing a couple workarounds. The rationale is that fixing the root issue is outside the responsibility of this library, and changing code to deal with the specific scenario is a bad pattern for a variety of reasons.
I also considered checking for an undefined sendAsync in configureProvider() and logging a warning to the user, but generalizing that to validating the entire provider object doesn't seem like a great idea. What do people think about that?
Any suggestions for alternate ways to either communicate or supply a fix for this issue are welcome.
The reported issue is caused by an issue originating from a specific version of a user-supplied third party dependency.
I propose addressing it by including a section in the readme to warn developers about when it occurs and providing a couple workarounds. The rationale is that fixing the root issue is outside the responsibility of this library, and changing code to deal with the specific scenario is a bad pattern for a variety of reasons.
I also considered checking for an undefined
sendAsync
inconfigureProvider()
and logging a warning to the user, but generalizing that to validating the entireprovider
object doesn't seem like a great idea. What do people think about that?Any suggestions for alternate ways to either communicate or supply a fix for this issue are welcome.