Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Every push shows changes to environment values even when nothing has changed #226

Open
mywristbands opened this issue Nov 18, 2021 · 1 comment

Comments

@mywristbands
Copy link

I've added an environment value to my project, like below:

In file environments/no-environment.json:

{
    "values": {
        "value1": {
            "property1": "property1Value",
            "property2": "property2Value"
        }
    }
}

However, every time I run realm-cli push --remote="<my-realm-app-id>", it presents the following output:

The following reflects the proposed changes to your Realm app
--- environments/no-environment.json
+++ environments/no-environment.json
@@ -1,13 +1,7 @@
 {
-    "value1": [
-        {
-            "Key": "property1",
-            "Value": "property1Value"
-        },
-        {
-            "Key": "property2",
-            "Value": "property2Value"
-        }
-    ]
+    "value": {
+        "property1": "property1Value",
+        "property2": "property2Value"
+    }
 }

I think this is a bug?

@mywristbands
Copy link
Author

Note that the above behavior happens even when there was no change to the environment values!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant