An error I ran into the other day while getting set up with this project: if you do client.db(endpoint, namespace) instead of client.db(endpoint, { namespace }) you get some unreadable dns errors. This PR adds better handling for that case.
@toptobes what do you think of the new error message? Unexpected db() argument: database id can\'t start with "https://". Did you mean to call .db(endpoint, { namespace })?
An error I ran into the other day while getting set up with this project: if you do
client.db(endpoint, namespace)
instead ofclient.db(endpoint, { namespace })
you get some unreadable dns errors. This PR adds better handling for that case.