basalt_codegen
build_runner code generator for the Basalt Dart ORM — derives row readers and INSERT/UPDATE builders from @Queryable, @Insertable, and @AsChangeset.
0.1.0
4akloon/basalt_dart
What this package is like to depend on
Last release 1 months ago
22 Jul 2026
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 3 of 3 stable releases
Nothing withdrawn
no release was ever pulled
1 months old
3 releases · first in 2026
3 releases in the last 12 months
see the full history below
Release timeline
3 releases · Jul 2026 to Jul 2026Releases
latest 3-
0.1.022 Jul 2026Release notes
Open source →- Table-marker resolution supports the new schema shape where the annotation
value's type is a non-generic
TableRefsubclass (@Queryable(Users.table)withfinal class Users extends TableRef<Users>) — the marker is resolved from theTableRef<Tbl>supertype. PlainTableRef<X>values keep working. - Widened the analyzer constraint to
>=8.0.0 <15.0.0. - Requires
basalt >=0.1.0 <0.2.0.
- Table-marker resolution supports the new schema shape where the annotation
value's type is a non-generic
-
0.0.216 Jul 2026Release notes
Open source →@Insertablenow also generates a batch extension onIterableof the annotated class:rows.toInsert()builds one multi-rowINSERT ... VALUES (...), (...)(throwsArgumentErroron an empty iterable). SkipsreadOnlycolumns like the single-row form.- Requires
basalt >=0.0.2 <0.1.0.
-
0.0.112 Jul 2026Release notes
Open source →Initial development release of the basalt_dart
build_runnercode generator.@Queryable— generates aRowReader-based mapper and typed query getters.@Insertable— generates atoInsert()builder.@AsChangeset— generates atoChangeset()builder forUPDATE.@Relation— generates self-mapping join queries (has-many folds, ref joins).- Pure, unit-tested emitters bridged by thin
GeneratorForAnnotationclasses, registered in a singleSharedPartBuilder.