Closed elle-j closed 2 weeks ago
Just reviving the old draft implementation then I'll be modifying the test and adding some more 🙂
@kneth, for the final review there are only minor changes to look at:
CHANGELOG.md
packages/realm/src/experimental/base-url.ts
: Per another discussion, the API updateBaseUrl()
now accepts null
as a way to reset the base URL to the default one (in addition to empty string).Still missing:
skip
ed tests.
What, How & Why?
Experimental exports/imports
experimental
directory has been added (packages/realm/src/experimental
), intended for exporting various experimental features.Base URL
"realm/experimental/base-url"
will extend theApp
with the instance membersApp.baseUrl
andApp.updateBaseUrl()
, allowing the user to retrieve and update the base URL.TSConfig / Choosing module resolution
tsconfig.json
:Example Usage
This closes #6486
☑️ ToDos