Skip to content

fix(config): strip schema property defaults at every level - #784

Draft
vitorbari wants to merge 1 commit into
mainfrom
fix/normalize-nested-schema-defaults
Draft

fix(config): strip schema property defaults at every level#784
vitorbari wants to merge 1 commit into
mainfrom
fix/normalize-nested-schema-defaults

Conversation

@vitorbari

Copy link
Copy Markdown
Contributor

Summary

normalizeSchemaBody only walked the top level, so a default carried by a leaf of an object
property survived normalization — a nested x-editable: true produced a permanent phantom diff.

Validation

  • moon run config:test config:typecheck config:lint

Release notes / changeset

  • Changeset: .changeset/normalize-nested-schema-defaults.md — patch for @zitadel/config.

Notes

  • None.

normalizeSchemaBody only walked the top level, so a default carried by a
leaf of an object property survived normalization and showed up as a
permanent phantom diff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nextgen Ready Ready Preview Aug 7, 2026 2:26pm
nextgen-docs Ready Ready Preview Aug 7, 2026 2:26pm
nextgen-mock-zitadel Ready Ready Preview Aug 7, 2026 2:26pm

Request Review

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: c0f42c5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 20 packages
Name Type
@zitadel/config Patch
@zitadel/cli Patch
@zitadel/components Patch
@zitadel/testing Patch
@zitadel/sdk-angular Patch
@zitadel/sdk-next Patch
@zitadel/sdk-nuxt Patch
@zitadel/sdk-qwik Patch
@zitadel/sdk-react Patch
@zitadel/sdk-solid Patch
@zitadel/sdk-svelte Patch
@zitadel/sdk-vue Patch
@zitadel/server Patch
@zitadel/server-linux-x64 Patch
@zitadel/server-linux-arm64 Patch
@zitadel/server-darwin-x64 Patch
@zitadel/server-darwin-arm64 Patch
@zitadel/server-win32-x64 Patch
@zitadel/api Patch
@zitadel/sdk-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vitorbari vitorbari linked an issue Aug 7, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

bug(flow-engine): nested user-schema fields are unusable

1 participant