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

Double neasted mode name in json output #279

Open
rganko opened this issue Oct 4, 2023 · 0 comments
Open

Double neasted mode name in json output #279

rganko opened this issue Oct 4, 2023 · 0 comments

Comments

@rganko
Copy link

rganko commented Oct 4, 2023

When value from collection A is pointing to collection B, json output schema includes double/neasted mode name. Please refer to attached screens. In this example only one mode was applied. In case of multi modes, resulted json contains variables in recursive-like schema.

EDIT: it just starts working again. Mode name is not presented in case of single mode. It case of multi-modes, json construction seams to be valid.

{
  "collection 1": {
    "mode 1": {
      "purple 1": {
        "type": "color",
        "value": "#5200ffff",
        "blendMode": "normal"
      },
      "green 1": {
        "type": "color",
        "value": "#5bea18ff",
        "blendMode": "normal"
      }
    }
  },
  "collection 2": {
    "mode 1": {
      "mode 1": {
        "green 2": {
          "type": "color",
          "value": "{collection 1.green 1}"
        },
        "purple 2": {
          "type": "color",
          "value": "{collection 1.purple 1}"
        }
      }
    }
  },
  "collection 3": {
    "mode 1": {
      "blue 3": {
        "type": "color",
        "value": "#4832cdff",
        "blendMode": "normal"
      }
    }
  }
}

image-1
image-2
image-3
image-4
image-5

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