Skip to content

fix(theme-check-docs-updater): remove invalid metaobject default - #1334

Open
efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/theme-tools-827-metaobject-completion
Open

efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/theme-tools-827-metaobject-completion

Conversation

@efegokdemir

Copy link
Copy Markdown

What are you adding in this PR?

Fixes #827. The theme/setting.json schema currently includes default for metaobject settings, although that attribute is unsupported. Normalize the loaded schema to remove it so the editor does not suggest it and validation rejects it.

What's next? Any followup issues?

None.

What did you learn?

Theme setting property suggestions are driven by the JSON schema loaded from theme-liquid-docs.

Tophatting

No visual change. The schema behaviour is covered by the regression test.

  • I added screenshots of the changes (before and after the changes if applicable)

Before you deploy

  • I included a patch bump changeset.

Validation run:

  • vitest run packages/theme-check-docs-updater/src (6 tests passed)
  • pnpm --filter @shopify/theme-check-docs-updater type-check
  • pnpm --filter @shopify/theme-check-docs-updater build:ts
  • Prettier check and git diff --check

@efegokdemir
efegokdemir requested a review from a team as a code owner October 8, 2026 23:22

This branch has not been deployed

No deployments
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.

Invalid completion for metaobject type schema settings

1 participant