Interfaces and shared helpers for implementing models, adapters, providers, and repositories in Brick, an intuitive way to work with persistent data in Dart.
- Add a
Query#providerArgs, reflecting the much narrower purpose of the member
String. As this is injected directly into the adapter, it does not need to be dynamic and should better reflect its purpose.
- Moves generator placeholders to
- Removes query validation that ensures all Where conditions have a non-null value
- Removes Type argument from
- Adds semantic methods to
- BREAKING Revise
Wheresyntax. This removes the second positional argument in favor of using it in a semantic method.
Where.exactfactory to preserve previous, short syntax
- Move query-related files to
src/queryand make them accessible from a barrel file in the lib root
- Fix linter hints
ModelRepository. This is enforces a predictable, overridable method for sub classes