[OBSOLETE] Exporting schemas with references

Hi, i’m trying out synchronizing schemas with the CLI.

Everything is working fine if i just export a schema without references and load it into another app.

However, when i try to sync schemas that have references, by doing something like this:

./sq schemas get article --with-refs

The CLI output is:

ERROR: Could not deserialize the response body.
Status: 200
**Response: **
{“items”:[{“id”:“8ee876e6-126a-4460-a76c-14d9033b5f6f”,“name”:“article”,“category”:“Article Models”,“properties”:{}

Am i doing something wrong or is there a bug ?

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ x ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Environment

  • [ x ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [3.2.2]

Browser:

  • [ ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

I will have a look today and provide a fix.

1 Like

Hi Sebastian

I’m so sorry, i found out that i was using the wrong version CLI :confused:

When i switched to using the latest version it worked like a charm

A small feedback could be that when you release you maybe have the CLI version in the name of the package somewhere :slight_smile:

1 Like

Great and thank you for the feedback. Makes sense :slight_smile:

3 Likes