{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4220","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4220/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4220/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4220/events","html_url":"https://github.com/pouchdb/pouchdb/pull/4220","id":103856675,"number":4220,"title":"(#4216) - remove Function.name checking","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-29T15:04:47Z","updated_at":"2015-08-30T08:17:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4220","html_url":"https://github.com/pouchdb/pouchdb/pull/4220","diff_url":"https://github.com/pouchdb/pouchdb/pull/4220.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/4220.patch"},"body":"This `Function.name` checking only makes sense in Node,\nand it only matters when the user creates two databases\nwith the same name but different `db`s. We can simplify\nthe code and just document the weird edge case."},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/136097108","html_url":"https://github.com/pouchdb/pouchdb/pull/4220#issuecomment-136097108","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4220","id":136097108,"user":{"login":"marten-de-vries","id":1750170,"avatar_url":"https://avatars.githubusercontent.com/u/1750170?v=3","gravatar_id":"","url":"https://api.github.com/users/marten-de-vries","html_url":"https://github.com/marten-de-vries","followers_url":"https://api.github.com/users/marten-de-vries/followers","following_url":"https://api.github.com/users/marten-de-vries/following{/other_user}","gists_url":"https://api.github.com/users/marten-de-vries/gists{/gist_id}","starred_url":"https://api.github.com/users/marten-de-vries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marten-de-vries/subscriptions","organizations_url":"https://api.github.com/users/marten-de-vries/orgs","repos_url":"https://api.github.com/users/marten-de-vries/repos","events_url":"https://api.github.com/users/marten-de-vries/events{/privacy}","received_events_url":"https://api.github.com/users/marten-de-vries/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T08:17:06Z","updated_at":"2015-08-30T08:17:06Z","body":"One case where this might (didn't test yet) bite us, is in pouchdb-server. It supports changing the storage engine/storage locations on the fly via ``/_config``, and there are almost always identical database names involved (``_users`` & ``_replicator``)."}}