-
Notifications
You must be signed in to change notification settings - Fork 23
Description
In our project we use mongodb-realm-cli tool v.1.3.4 and realm schemas are not exported correctly. mongodb-realm-cli is exported only database and collection fields without id, relationships, schema fields, how it was before. And we can not switch to the newer version mongodb-realm-cli soon. I assume that there are some changes in the Realm API.
This is export example:
schema.json
{ "database": "some-db", "collection": "some-collection" }
We use this command for export:
realm-cli export --app-id=${REALM_APP_ID} --output=realm-deploy/template-${TARGET} --as-template
And also I have just noticed we have problem with deploy command, after I run deploy command, it shows diff in which all schemas will be removed.
We use this command for deploy:
realm-cli import --app-id=${REALM_APP_ID} --path=realm-deploy/template-${TARGET} --strategy=replace
Few days ago thees commands works fine and we did not change anything..
Could you help with thees issues please?