Commit Graph

127 Commits

Author SHA1 Message Date
Simon Binder 8e3259c971
Ignore all lints in generated code 2022-03-30 09:59:41 +02:00
westito 27192f11c4
Fix null aware type converter data class field suffix (#1775) 2022-03-28 00:05:15 +02:00
Tomaž Marhat c0bd703122
fix: wrap element name inside ReCase (#1762) 2022-03-20 11:36:06 +01:00
Simon Binder 231c270fb1
Prepare 1.5.2 release of `drift_dev` 2022-03-15 19:41:45 +01:00
Simon Binder 5a2b6a36cc
Fix crash when reading type converters (#1757) 2022-03-15 16:51:30 +01:00
Simon Binder 35d5ff35c8
Prepare minor `drift_dev` release 2022-03-14 21:27:36 +01:00
Simon Binder a60a795c66
Auto-migrate usages of `moor_flutter` 2022-03-14 21:04:04 +01:00
Simon Binder c6edcdf3e8
Prepare drift 1.5.0 release 2022-03-13 15:54:45 +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 56f048b42f
Add test for self-references in Dart tables 2022-03-08 09:54:50 +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
Simon Binder 6184892217
Add more docs, changelog 2022-02-18 15:09:51 +01:00
westito 9bcac38e98 Add tests for custom data class parent 2022-02-18 10:50:03 +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 c58c93c348
Prepare changelogs for 1.4 release 2022-02-09 16:47:22 +01:00
Simon Binder 661227c4c3
Prepare release 2022-02-09 16:23:43 +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
Simon Binder fe0b976b92
Fix invalid use of alias in writer test 2022-01-26 22:12:32 +01:00
Simon Binder 7d56497c18
Some plugin fixes 2022-01-24 17:25:24 +01:00
Daniel Brauner 2035bf0af9 Fix resultset name bug 2022-01-23 18:44:33 +01:00
Daniel Brauner a9fd12e565 Fixed 0 workaround 2022-01-23 17:08:32 +01:00
Daniel Brauner e50ce8a8f7 Add linter for double nested queries and bug fixes 2022-01-20 20:21:06 +01:00
Daniel Brauner b5acbbf374 Bug fixes and support for dart placeholder 2022-01-20 12:08:39 +01:00
Simon Binder 2a347b2f40
Analyze views before other entities 2022-01-19 20:54:02 +01:00