Skip to content

feat(schema-dsl): add @Resource, @field, @id decorators #10508

Open
MehulKChaudhari wants to merge 16 commits intomainfrom
resource-dsl
Open

feat(schema-dsl): add @Resource, @field, @id decorators #10508
MehulKChaudhari wants to merge 16 commits intomainfrom
resource-dsl

Conversation

@MehulKChaudhari
Copy link
Copy Markdown
Contributor

  • Adds the @warp-drive/schema-dsl package with @resource, @field, and @id decorators for defining schemas as decorated TypeScript classes
  • Decorators are no-ops at runtime a Vite plugin (schemaDSL()) compiles them at build time via Babel AST into
    ResourceSchema objects exposed through a virtual:warp-drive-schemas module
  • Supports both modern (Polaris) and legacy schema output formats
  • Includes tests and initial documentation

@MehulKChaudhari MehulKChaudhari self-assigned this Apr 1, 2026
@github-project-automation github-project-automation bot moved this to needs triage in EmberData Apr 1, 2026
@runspired runspired added 🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature labels Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants