Commit Graph

2672 Commits

Author SHA1 Message Date
Simon Binder c5a800d4c4
Migrate simple CLI tools to new analyzer 2022-11-05 18:32:13 +01:00
Simon Binder c5504237d5
Make drift's tests pass with new analyzer 2022-11-04 13:42:06 +01:00
Simon Binder c2b319bc8e
Fix writing type converters 2022-11-01 00:14:17 +01:00
Simon Binder fe3566429f
Migrate more analyzer tests 2022-10-30 19:41:59 +01:00
Simon Binder 23b0c8a362
Migrate drift file analysis tests to new analyzer 2022-10-30 16:09:38 +01:00
Simon Binder 292dd9946d
Port more tests over to new analyzer 2022-10-29 17:30:18 +02:00
Simon Binder 49470e8361
Support serializing fts5 tablesi n new analyzer 2022-10-29 14:39:28 +02:00
Simon Binder e3a29ebbe2
Migrate some tests to new analyzer 2022-10-26 23:09:05 +02:00
Simon Binder 69808525c0
Port over drift lints to new analyzer 2022-10-26 20:36:35 +02:00
Simon Binder 81679b8ff1
Fix formatting some Dart placeholders 2022-10-23 18:13:40 +02:00
Simon Binder f38d56842e
Fix nullability for drift -> sqlparser mapping 2022-10-23 17:46:57 +02:00
Simon Binder 9f48d49cb3
Read primary key in drift files 2022-10-23 17:36:28 +02:00
Simon Binder 75169c9d7e
Read type converters in drift files 2022-10-23 17:15:59 +02:00
Simon Binder 70a88cfe3a
Fix generating array types with new analyzers 2022-10-23 15:52:21 +02:00
Simon Binder e3b6c56f08
Fix syntax error in generated code for queries 2022-10-19 23:35:54 +02:00
Simon Binder 2ec63749f8
New analyzer: Better support for virtual tables 2022-10-18 22:28:53 +02:00
Simon Binder b16b5ad2c2
Merge branch 'develop' into modular-generation 2022-10-18 21:55:43 +02:00
Simon Binder eb840db4be
Merge pull request #2102 from North101/develop
Decouple JsonTypeConverter from TypeConverter
2022-10-18 20:45:33 +02:00
Simon Binder 51f4c28283
Document new type converters 2022-10-18 20:39:50 +02:00
Simon Binder 92bb5a7fa1
Add test and changelog 2022-10-18 20:36:09 +02:00
Alexander Wilde 09951adda6 JsonTypeConverterWithDifferentTypes -> JsonTypeConverter2 2022-10-18 01:06:22 +01:00
Alexander Wilde ff9d419559 Backwards compatible attempt 2022-10-16 00:44:58 +01:00
Alexander Wilde ba28b51125 Decouple JsonTypeConverter from TypeConverter 2022-10-14 19:56:28 +01:00
Simon Binder 81ba7686c7
Generate queries with new analyzer 2022-10-13 22:05:42 +02:00
Simon Binder b16d8f5e3a
Fix generated view code 2022-10-13 19:25:54 +02:00
Simon Binder 3253cd7ead
Merge pull request #2098 from isaacadariku/patch-1
Update web.md
2022-10-12 14:48:15 +02:00
Simon Binder 189af5d443
View generation wth new analyzer 2022-10-12 01:23:17 +02:00
Isaac Adeni Adariku a0f3f3d801
Update web.md
Following this depreciated change [1af6bb78d9#:~:text=%40Deprecated(%27Use%20the,this(executor)%3B], the documentation for the web.md needs to be updated. This PR updates the documentation to reflect the changes.
2022-10-11 12:14:52 +01:00
Simon Binder 3dddbaf467
Merge branch 'develop' into modular-generation 2022-10-10 23:45:48 +02:00
Simon Binder 3d969c787f
Infer generated columns for drift 2022-10-10 23:18:10 +02:00
Simon Binder 0b68d68b6c
New analyzer: Support Dart views 2022-10-10 00:07:00 +02:00
Simon Binder 661d1448eb
Docs: Also get dependencies in drift 2022-10-09 21:41:10 +02:00
Simon Binder 6a810277d3
Link to example in isolate docs 2022-10-07 21:48:58 +02:00
Simon Binder 808f582b08
Release sqlparser and drift_dev 2022-10-06 22:56:25 +02:00
Simon Binder a2e10d9abc
Prepare 2.2.0 release 2022-10-06 13:27:25 +02:00
Simon Binder ee8499a6dd
Format sources in documentation 2022-10-05 11:34:28 +02:00
Simon Binder becae40c6e
Add bitwise operators to query builder 2022-10-05 11:31:45 +02:00
Simon Binder a039de0d3a
Move operator expressions out of megalib 2022-10-04 15:08:57 +02:00
Simon Binder 470fb49592
Write companions with new analyzer 2022-10-03 17:37:10 +02:00
Simon Binder 1a39c5eb8d
Start emitting data class and table code 2022-10-03 15:04:22 +02:00
Simon Binder ef1b94af1d
Start generating code with new analyzer 2022-10-02 23:15:11 +02:00
Simon Binder 4136acb465
Merge pull request #2086 from ValentinVignal/drift/make-insertable-a-const
Add `const` constructor to `Insertable`
2022-09-30 09:10:48 +02:00
ValentinVignal 7f78ab4642
Add const keywords 2022-09-30 14:11:34 +08:00
ValentinVignal 0a7b32f92e
🚚 Move test to drift/test/database/data_class_test.dart 2022-09-30 14:11:25 +08:00
ValentinVignal 776b75a033
Add a test using a const insertable 2022-09-30 11:59:11 +08:00
ValentinVignal e98a002a15
Add a const constructor to insertable 2022-09-30 11:58:53 +08:00
Brett Lindsay 6337d8e74f
Fix typo in error message for references (#2085) 2022-09-28 22:26:51 +02:00
Roman Laptev b2796fc77e
[drift_dev] Update analyzer and deprecated methods (#2084) 2022-09-27 21:30:12 +02:00
Simon Binder ccea98e4a2
Document using existing row classes for views 2022-09-24 22:00:30 +02:00
Elmarakbeno 226aead4c0
Add getx example to FAQ (#2077) 2022-09-24 08:06:49 +02:00