brick_sqlite_generators 2.0.0-rc.1 copy "brick_sqlite_generators: ^2.0.0-rc.1" to clipboard
brick_sqlite_generators: ^2.0.0-rc.1 copied to clipboard

outdated

Code generation library for the SQLite providers, models, and adapters in Brick

Unreleased #

2.0.0-rc.1 #

  • Expose SqliteSerdesGenerator in generators.dart

1.2.0 #

  • Supports ignoreFrom, ignoreTo, and enumAsString

1.1.4 #

  • Fix casting when deserializing enums. The analyzer does not alert for cast on 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 checkerForField function 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 toList and deserializing

1.1.1+1 #

  • Fix adapter when deserializing single siblings

1.1.1 #

  • Update to use new brick_build API for getAssociationMethod and repositoryHasBeenForceCast

1.1.0+1 #

  • Apply const for individual migrations in schema.g.dart

1.1.0 #

  • Fix analyzer's nullable warning when serializing non-final iterables (#185)
  • Expose SqliteSchemaGenerator#schemaColumn for calling super in sub classes
  • Prepend const before RuntimeSqliteColumnDefinition
  • Use const when declaring migrations at the top of schema.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_test dependency

1.0.0+1 #

  • Loosen brick_build pubspec 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 fieldsToSqliteColumns definition (#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 columnType from SQLite annotations
  • Reconcile changes for non-final associations (#112)
0
likes
0
pub points
40%
popularity

Publisher

unverified uploader

Code generation library for the SQLite providers, models, and adapters in Brick

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, brick_build, brick_sqlite_abstract, build, dart_style, meta, source_gen

More

Packages that depend on brick_sqlite_generators