North101
5bf9b2a3aa
Fix not null when using JsonTypeConverter ( #1820 )
...
* Fix not null when using JsonTypeConverter
* Run dart format on writer
Co-authored-by: Alexander Wilde <alexander.wilde87@gmail.com>
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2022-04-25 16:21:01 +02:00
Simon Binder
80c8c86031
Support drift-defined views schema tools ( #1813 )
2022-04-23 23:31:04 +02:00
Simon Binder
8479602023
Pick valid Dart names for views ( #1814 )
2022-04-23 16:06:11 +02:00
Simon Binder
5f6beb76ca
Support json type converters ( #1811 )
2022-04-22 23:38:41 +02:00
Simon Binder
2473cea469
Add `check()` to the Dart column builder ( #1594 )
2022-04-18 20:09:02 +02:00
Simon Binder
70e1d040ab
Avoid overriding `uniqueKey` if that's not needed
2022-04-08 21:21:00 +02:00
Daniel Brauner
5380a18450
Minor bug fixes
2022-04-06 20:14:13 +02:00
Simon Binder
62a95f6bd4
Write Dart refences into schema files
2022-04-04 22:32:07 +02:00
Simon Binder
a721e896d3
Add warnings for `customConstraint` misuse
2022-04-04 21:13:07 +02:00
Simon Binder
4e508b62ab
Test parsing unique keys
2022-04-03 12:28:12 +02:00
westito
ff1912fc07
Merge remote-tracking branch 'simolus3/develop' into unique-constraint
...
# Conflicts:
# drift/lib/src/ffi/database.dart
2022-04-02 20:13:44 +02:00
westito
4713dd1a68
Add forgotten code change to table writer
2022-04-02 20:10:48 +02:00
Simon Binder
8e3259c971
Ignore all lints in generated code
2022-03-30 09:59:41 +02:00
westito
13d1ae0304
Make uniqueKey handle multiple keys
2022-03-28 16:29:01 +02:00
westito
27192f11c4
Fix null aware type converter data class field suffix ( #1775 )
2022-03-28 00:05:15 +02:00
westito
5d4c5dea70
Add uniqueKey to table definition
2022-03-22 17:00:27 +01:00
westito
51d2328998
Add unique() to column builder
2022-03-22 15:21:37 +01:00
Tomaž Marhat
c0bd703122
fix: wrap element name inside ReCase ( #1762 )
2022-03-20 11:36:06 +01:00
Simon Binder
5a2b6a36cc
Fix crash when reading type converters ( #1757 )
2022-03-15 16:51:30 +01:00
Simon Binder
a60a795c66
Auto-migrate usages of `moor_flutter`
2022-03-14 21:04:04 +01:00
Simon Binder
da212944ff
Replace old website and repository links
2022-03-13 15:52:15 +01:00
westito
05abe4de4c
Add cascaded expression support to DSL view parser ( #1751 )
...
* Add cascaded expression support to DSL view parser
* Fix view sample query
2022-03-13 00:47:02 +01:00
Simon Binder
b25921a362
Write column getter into schema file ( #1739 )
2022-03-09 23:02:52 +01:00
Simon Binder
61dc1f17b8
Name schema exports automatically ( #1721 )
2022-03-02 17:25:30 +01:00
Simon Binder
db1a4e2827
Fix `validateDatabaseSchema`
2022-03-01 20:41:00 +01:00
Simon Binder
cb46e2c07e
API to validate schema at runtime ( #1718 )
2022-03-01 18:10:19 +01:00
Simon Binder
f4eec69810
Fix reading schema files
2022-02-26 22:28:04 +01:00
Simon Binder
9ec7465fca
Migrate rest of `drift_dev` to null safety
2022-02-26 22:20:17 +01:00
Simon Binder
93d328f056
Rename `moor` to `drift` in `sqlparser`
2022-02-26 21:38:28 +01:00
Simon Binder
ce31515c07
Fix type issue for `LIST` queries
2022-02-25 21:25:06 +01:00
Simon Binder
6bb870458f
Analysis for sqlite 3.38
2022-02-23 22:06:42 +01:00
westito
e35a4028b5
Merge branch 'custom_parent_class' of github.com:westito/drift into custom_parent_class
2022-02-18 10:12:43 +01:00
westito
e56260740d
Update drift_dev/lib/src/analyzer/data_class.dart
...
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2022-02-18 10:12:35 +01:00
westito
d846655e1d
Merge remote-tracking branch 'simolus3/develop' into custom_parent_class
2022-02-18 10:11:59 +01:00
Simon Binder
0869bdc620
Remove empty file
2022-02-17 16:28:34 +01:00
Simon Binder
83deb5bb4d
Include views in generated accessors
2022-02-17 16:23:02 +01:00
Simon Binder
101db403c6
Merge pull request #1682 from westito/type-converter-workaround
...
TypeConverter not existent type argument class workaround
2022-02-14 22:15:57 +01:00
westito
d6692b13c2
Fix dynamic type check
2022-02-14 19:59:46 +01:00
westito
062b00d635
TypeConverter not existent type argument class workaround
...
(cherry picked from commit fe193e037bc51dc34d65507c8df6fba66759d54e)
2022-02-14 19:29:24 +01:00
westito
3872f14d2f
Fix error message in parent class parse
2022-02-14 14:24:22 +01:00
westito
bfc4921809
Allow dynamic as type parameter
2022-02-14 14:20:21 +01:00
westito
affac25a77
Add view dsl as() expression parse error
2022-02-14 10:15:31 +01:00
westito
46ca0462bf
Add type checks to parent class option
2022-02-14 10:03:46 +01:00
westito
4c2e74d5e0
Add generics to parent class option
2022-02-13 08:13:42 +01:00
westito
afb5e8157c
Add custom parent class option to generated data classes
2022-02-12 19:36:54 +01:00
Simon Binder
33e3610fea
Fix analysis warnings added in Dart 2.16
2022-02-08 20:59:59 +01:00
Simon Binder
36815c0b88
Merge pull request #1638 from LeFrosch/develop
...
Support for nested queries like (#1634 )
2022-01-31 13:21:24 +01:00
Simon Binder
b442a82f93
Move nested query containers into model directory
2022-01-31 12:58:36 +01:00
Simon Binder
1d1d0c783a
Fix CI test failures
2022-01-29 21:50:33 +01:00
Simon Binder
6b6cd30a0c
Move nested query analysis to drift_dev
2022-01-28 21:55:03 +01:00