mirror of https://github.com/AMT-Cheif/drift.git
Mention non-shared builder in changelog
This commit is contained in:
parent
d44004e598
commit
b30c21e577
|
@ -99,7 +99,7 @@ In general, we recommend not enabling these options unless you need to. There ar
|
|||
Starting with moor 2.4, it's possible to use classes generated by moor in other builders.
|
||||
|
||||
Due to technicalities related to Dart's build system and `source_gen`, this approach requires a custom configuration
|
||||
and minor code changes.
|
||||
and minor code changes. Put this content in a file called `build.yaml` next to your `pubspec.yaml`:
|
||||
|
||||
```yaml
|
||||
targets:
|
||||
|
@ -110,6 +110,10 @@ targets:
|
|||
enabled: false
|
||||
moor_generator|moor_generator_not_shared:
|
||||
enabled: true
|
||||
# If needed, you can configure the builder like this:
|
||||
# options:
|
||||
# skip_verification_code: true
|
||||
# use_experimental_inference: true
|
||||
|
||||
# Run built_value_generator when moor is done, which is not in this target.
|
||||
built_value_generator|built_value:
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
[#260](https://github.com/simolus3/moor/issues/260).
|
||||
- Fix a crash when opening a transaction without using it ([#361](https://github.com/simolus3/moor/issues/361))
|
||||
- New `mapFromCompanion` method in generated tables to convert a `UpdateCompanion` to a model.
|
||||
- Support generated moor classes in other builders (like `built_value`). Details [in the docs](https://moor.simonbinder.eu/docs/advanced-features/builder_options/)
|
||||
|
||||
## 2.3.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue