Skip to content

Conversation

@louis-bompart
Copy link
Collaborator

  • Transform the virtual module so that we do not "bundle" the Spec but "load it" at runtime.
  • Add ajv for JSON Schema Validation and use it against our mocked response: this validates the shape of our response against the API, ensuring we do not stray
  • Clean-up mocked response to "follow" the schema.

@developer-experience-bot
Copy link
Contributor

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 255.6 255.6 0
commerce 369.4 369.4 0
search 427.1 427.1 0
insight 418.3 418.3 0
recommendation 266.4 266.4 0
ssr 421.5 421.5 0
ssr-commerce 386.5 386.5 0
ssr-commerce-next 387.8 387.8 0
ssr-next 422.1 422.1 0

@github-actions
Copy link

github-actions bot commented Oct 17, 2025

🔗 Scratch Orgs ready to test this PR:

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