createConfiguration could use the path in the sync url
See original GitHub issueGoals
When using createConfiguration
to create a configuration that syncs to something else than the /default
Realm it would be nice if the user had a way to specify the path of the Realm on the server.
Expected Results
Either the config.path
could be appended to the server URL or perhaps a second string argument to the method.
Actual Results
Calling createConfiguration
on a user always returns a configuration object with the /default
path.
Steps to Reproduce
- Authenticate a user
- Call
user.createConfiguration({ path: "whatever" })
, log the result and observe that it has/default
as the realm path of thesync.url
.
Version of Realm and Tooling
- Realm JS SDK Version: 2.14.2
- Node or React Native: Node
- Client OS & Version: N/A
- Which debugger for React Native: N/A
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Initializing the Configuration - Revenera Product Documentation
The createConfig() method creates a configuration for the SDK instance. ... You can get this URL from the Developer Zone once you login...
Read more >using podsync for people who don't know very well ... - GitHub
b. insert YouTube channel url; pull and run podsync files via docker; open web browser and go http://localhost:8080, you will see xml files,...
Read more >Share Data with Cluster Linking on Confluent Cloud
Use Cluster Linking to share data across Kafka clusters in a global mesh, including hybrid cloud, migration, and failover use cases.
Read more >config - Obtain credentials and create configuration file
When you run gsutil config -e , you are prompted for the path to your private key file and, if not using a...
Read more >Amazon MSK configuration operations - AWS Documentation
This topic describes how to create custom MSK configurations and how to perform operations on them. For information about how to use MSK...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that would be very weird API as you’ll have two ways of specifying the same thing. I would rather handle relative urls in the
sync
object:We can easily detect that and concatenate with the user url.
I just had a need for this again today 😃 Glad to see it’s in active progress.