You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generating Schemas for Particle Accelerator with schema2kotlin (#4829)
## Summary
Modifies schema2kotlin tool to add generated schemas to Entity_Specs. Schemas can be accessed from the specs statically as a .schema property.
This PR also introduces a SchemaRegistry. All generated schemas are automatically registered in the registry.
Currently, collections of references are not supported.
## Changelog
* First iteration of schema gen on entities
* packaging in a schema registry
* Generation adds to schema registry
* excluding wasm from generation
* Improved shape of registry
* minor adjustments
* sigh lint
* Added test for mapOf
* no difference w/ wasm golden
* rm import
* rm unused field
* grooming schema registry
* addField arguments are more ergonomic
* ktlint fix
* EntitySpec Interface can return a schema
* fixed build
* revising from feedback
* Fixed indentation
* Potential presub fix: added dep to rule
* Potential Fix: create alias in 3rd party
* Found right place to assign deps
* Need to handle wasm use case
* Treat wasm, jvm separately.
* rm alias for wasm
* Cleaner sdk solution: export core/data
* rm whitespace, ran buildifier
0 commit comments