brick_core 0.0.5
brick_core: ^0.0.5 copied to clipboard
Interfaces and shared helpers for implementing models, adapters, providers, and repositories in Brick, an intuitive way to work with persistent data in Dart.
Unreleased #
0.0.5 #
- Rename
Query#params
toQuery#providerArgs
, reflecting the much narrower purpose of the member
0.0.4 #
FieldSerializable#defaultValue
changes fromdynamic
toString
. As this is injected directly into the adapter, it does not need to be dynamic and should better reflect its purpose.
0.0.3+1 #
- Moves generator placeholders to
FieldSerializable
formOfflineFirst
- Removes query validation that ensures all Where conditions have a non-null value
0.0.3 #
- Add
And
andOr
Where
subclasses - Removes Type argument from
Where
- Adds semantic methods to
Where
such asisExactly
and - BREAKING Revise
Where
syntax. This removes the second positional argument in favor of using it in a semantic method. - Adds
Where.exact
factory to preserve previous, short syntax - Move query-related files to
src/query
and make them accessible from a barrel file in the lib root
0.0.2 #
- Fix linter hints
- Adds
initialize
method toModelRepository
. This is enforces a predictable, overridable method for sub classes