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

fix(db-postgres): nested arrays with localized items and versions #8334

Conversation

r1tsuu
Copy link
Collaborator

@r1tsuu r1tsuu commented Sep 20, 2024

Port of #8331 to 2.0

Previosuly, trying to append a new item to an array that contains another array with localized items and enabled versions led to a unique _locale and _parent_id error

{
  name: 'nestedArrayLocalized',
  type: 'array',
  fields: [
    {
      type: 'array',
      name: 'array',
      fields: [
        {
          name: 'text',
          type: 'text',
          localized: true,
        },
      ],
    },
  ],
}

@DanRibbens DanRibbens merged commit c86526b into main Sep 20, 2024
35 checks passed
@DanRibbens DanRibbens deleted the fix/pg-nested-arrays-localized-items-push-and-versions-enabled branch September 20, 2024 16:15
Copy link

🚀 This is included in version v2.29.0

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