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

import/export singleton schemas #50

Merged
merged 2 commits into from
Dec 5, 2020
Merged

import/export singleton schemas #50

merged 2 commits into from
Dec 5, 2020

Conversation

valchetski
Copy link
Contributor

Added possibility to correctly export/import singleton schemas in Squidex CLI.

Currently Squidex CLI has an issue with export/import of singleton schemas. Schema is always multiple in case you create it from CLI.

Steps to reproduce issue:

  1. Create new test Single content schema in Squidex CMS.
  2. Run export dotnet sq sync out.
  3. Delete test Single content schema from Squidex CMS.
  4. Run import dotnet sq sync in
  5. Now test schema became of Multiple contents type, but it must remain Single content

{
public string Name { get; set; }
public bool IsSingleton { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an extra line between properties.

@SebastianStehle SebastianStehle merged commit 768f56b into Squidex:master Dec 5, 2020
@valchetski valchetski deleted the feature/singleton-synchronizer branch December 5, 2020 16:58
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

Successfully merging this pull request may close these issues.

2 participants