canon_generator 0.28.0 copy "canon_generator: ^0.28.0" to clipboard
canon_generator: ^0.28.0 copied to clipboard

Code generator for canon — emits the typed Screen, Hop, and verb surface from the spec enum.

canon_generator #

Code generator for canon — emits the typed Screen, Hop, and verb surface from the spec enum.

Build workflow note #

Generated types (ids, the Screen facade, store globals) are part of your source's vocabulary, so a spec change can need TWO passes: run build_runner, adjust the hand-written code that referenced the old shapes, and build again. On a first generation the hand-written references may not resolve until the builder has run once — that's the normal bootstrap, not an error in your spec.

1
likes
0
points
750
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator for canon — emits the typed Screen, Hop, and verb surface from the spec enum.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, canon, identifiable, regent, source_gen

More

Packages that depend on canon_generator