You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 onlydatabase
andcollection
fields withoutid
,relationships
,schema
fields, how it was before. And we can not switch to the newer versionmongodb-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?
The text was updated successfully, but these errors were encountered: