Internal use of async/await and promises in Connection.from to simplify the code and properly deal with the asynchronous parsing in case of errors.
NOTE: we are also dropping the "normalisation" of the scheme (adding the scheme if not present). Since the url scheme is validated in compass-connect that feature is never used, also not behaving properly:
Description
Internal use of
async/await
and promises inConnection.from
to simplify the code and properly deal with the asynchronous parsing in case of errors.NOTE: we are also dropping the "normalisation" of the scheme (adding the scheme if not present). Since the url scheme is validated in
compass-connect
that feature is never used, also not behaving properly:To be precise this should probably be a new major version.
Checklist
Motivation and Context
Open Questions
Dependents
Types of changes