Skip to content

Fix YAML parse errors in ecommerce catalog schema descriptions#591

Merged
harish-intercom merged 1 commit into
mainfrom
harish.raj/ecommerce-catalog-schema-yaml-fix
Jul 16, 2026
Merged

Fix YAML parse errors in ecommerce catalog schema descriptions#591
harish-intercom merged 1 commit into
mainfrom
harish.raj/ecommerce-catalog-schema-yaml-fix

Conversation

@harish-intercom

Copy link
Copy Markdown
Contributor

Why?

PR #587 introduced two YAML parse errors in the ecommerce_catalog_product schema in descriptions/0/api.intercom.io.yaml:

  1. `in_stock: true` in a plain scalar — the : inside backticks was treated as a mapping entry
  2. {"name": "Size", "values": [...]} in a plain scalar — the { was treated as starting a flow mapping

This caused the Fern fern check validation and any YAML parser to fail on this file.

How?

Both descriptions converted to literal block scalars (|), which disables YAML indicator parsing inside the value. No content change otherwise.

Related

Generated with Claude Code

Two description fields in the ecommerce_catalog_product schema used plain
scalars containing `: ` inside backtick-quoted code and `{}` JSON literals,
which the YAML parser mis-read as mapping entries. Converted both to literal
block scalars (`|`) to fix parse errors introduced in PR #587.
@harish-intercom harish-intercom self-assigned this Jul 16, 2026
@harish-intercom harish-intercom merged commit 7f05258 into main Jul 16, 2026
3 checks passed
@harish-intercom harish-intercom deleted the harish.raj/ecommerce-catalog-schema-yaml-fix branch July 16, 2026 13:55
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