Highlights
It is now possible to restore the null type system from < v0.37.0
by adding fallback_null: github.com/aarondl/opt/null
to your bobgen.yaml
configuration file.
Added
- Added the
fallback_null
top level configuraiton option. Which can be eitherdatabase/sql
orgithub.com/aarondl/opt/null
.
This is used to determine how to create null values in the generated code. If set todatabase/sql
, it will usesql.Null[T]
for nullable types, and if set togithub.com/aarondl/opt/null
, it will useopt.null.Val[T]
.
The default value isdatabase/sql
.
Fixed
- Correctly build models with nested relationships in the factory.
- Fix a performance issue with code generation in
bobgen-psql
. - Use the correct alias when generating table columns.
- Fix issue with generating factory code for tables with schema names.
Full Changelog: v0.37.0...v0.38.0