brick_sqlite_generators 1.2.0
brick_sqlite_generators: ^1.2.0 copied to clipboard
Code generation library for the SQLite providers, models, and adapters in Brick
Unreleased #
1.2.0 #
- Supports
ignoreFrom,ignoreTo, andenumAsString
1.1.4 #
- Fix casting when deserializing enums. The analyzer does not alert for
caston a list that could contain nullable values; if the field type is non-nullable, null types must be removed before the cast. - Remove unnecessary import in
schema.g.dart
1.1.3 #
- Bump
brick_build - Explicitely override
checkerForFieldfunction in order to have SQLite maintain member field typing as it's source of truth over any constructor definitions
1.1.2 #
- Always cast when using
toListand deserializing
1.1.1+1 #
- Fix adapter when deserializing single siblings
1.1.1 #
- Update to use new
brick_buildAPI forgetAssociationMethodandrepositoryHasBeenForceCast
1.1.0+1 #
- Apply
constfor individual migrations inschema.g.dart
1.1.0 #
- Fix analyzer's nullable warning when serializing non-final iterables (#185)
- Expose
SqliteSchemaGenerator#schemaColumnfor calling super in sub classes - Prepend
constbeforeRuntimeSqliteColumnDefinition - Use
constwhen declaring migrations at the top ofschema.g.dart - Add Dart Lints
1.0.0+5 #
- Fix nullable warning when serializing non-nullable maps (#187)
1.0.0+4 #
- Fix pubspec dependencies
1.0.0+3 #
- Fix deserialization for associations, enum, and DateTime in Dart >=2.12
- Fix serialization for associations, afterSave, enum, core types, booleans, and DateTime in Dart >=2.12
1.0.0+2 #
- Remove
source_gen_testdependency
1.0.0+1 #
- Loosen
brick_buildpubspec restriction
1.0.0 #
- Null safety
0.0.1 #
- Fix sibling set serialization
- Do not create joins tables for ignored fields
- Type arguments are stripped from fields when building the
fieldsToSqliteColumnsdefinition (#31) - Fixes a bug where sets were not serialized by SQLite
- Single siblings are upserted to SQLite as they're received; previously only iterable siblings were upserted
- Fix deserializing for null sibling arrays
- Booleans are serialized as 1s or 0s
- Foreign keys are no longer serialized in a JSON array and stored as a string
- Support
columnTypefrom SQLite annotations - Reconcile changes for non-final associations (#112)