Commit Graph

105 Commits

Author SHA1 Message Date
Nikita Dauhashei 9c82dcd313
Merge remote-tracking branch 'origin/develop' into develop 2024-04-22 23:19:28 +02:00
Simon Binder fefae6dd44
Merge remote-tracking branch 'origin/develop' into geopoly 2024-04-22 22:56:37 +02:00
Nikita Dauhashei 7c6e36e4f4
fix no backend error 2024-04-21 13:00:57 +02:00
Simon Binder ac4947f266
Support `INT64` type for bigints in drift files
https://github.com/simolus3/drift/issues/2955
2024-04-15 21:18:10 +02:00
Nikita Dauhashei 5e5628d1a8
move geopoly to extensions 2024-04-14 23:51:29 +02:00
Nikita Dauhashei 15001364c2
add geopoly support 2024-04-10 18:31:44 +02:00
ValentinVignal 059108fff6 test: Update the tests 2024-01-22 14:11:39 +01:00
Simon Binder 5e51fbc1fc
Fix other view test 2023-12-14 00:11:24 +01:00
Simon Binder 08241bfdd2
Merge branch 'more-plurals' into develop 2023-11-22 13:11:37 +01:00
Abass Sesay 3fb9e50f75 removed duplicate test case 2023-11-22 03:00:07 +00:00
Simon Binder 39018d381c
Don't generate const constr for non-const parent
Closes #2735
2023-11-19 14:33:55 +01:00
Abass Sesay f249494269 added test cases for inflections 2023-11-16 22:33:52 -05:00
Simon Binder 7f0488056c
Add more tests for custom types 2023-10-07 21:52:48 +02:00
Simon Binder 62bda167bd
Start supporting custom column types in analyzer 2023-10-07 17:16:12 +02:00
Simon Binder eb03ac5ff0
Fix converters on `int64` breaking inference 2023-10-03 20:54:28 +02:00
Simon Binder f8ba56c8e2
Gracefully handle invalid views list of annotation
Fixes #2636
2023-09-25 15:29:09 +02:00
Simon Binder 2f732202b0
Show correct annotation name in tables error 2023-09-19 20:32:30 +02:00
Simon Binder 93b9cc512d Analyze index annotations for tables 2023-09-14 15:37:21 +02:00
Simon Binder 0fd19ab576
Fix drift_dev tests 2023-09-10 22:46:50 +02:00
Simon Binder 79dda8668b
Resolve imports across exports 2023-09-03 22:34:40 +02:00
Nikita Dauhashei f408991ee7
fix test 2023-08-26 20:54:38 +02:00
Nikita Dauhashei 9575612840
fix code generation for `enum` with generic 2023-08-26 20:18:03 +02:00
Simon Binder d84767b93d Support references to builtin tables (#2567) 2023-08-17 00:15:36 +02:00
Simon Binder f8635469d4
Emit direct imports in preprocess step 2023-08-13 11:10:31 +02:00
Simon Binder 7f6e22b892
Avoid using `findLibraryByName` 2023-08-12 23:28:47 +02:00
Simon Binder 92dd82f49c
Restore cache on a per-element basis 2023-08-12 22:03:58 +02:00
Simon Binder 788420b614
Avoid resolving all transitive imports in build 2023-08-12 14:35:16 +02:00
Simon Binder 8d3f490604
Add multi-dialect generation option 2023-07-26 23:59:06 +02:00
Simon Binder 5ed6115b0d
Fix outdated tests in drift_dev 2023-07-24 20:54:32 +02:00
Simon Binder 941409381b
Tests for generalized nested columns 2023-07-24 20:08:49 +02:00
Simon Binder 3f74d65e69
Support nested columns for any result set 2023-07-23 23:57:00 +02:00
Simon Binder e2fe4228ad
Make driver error fatal in tests 2023-05-30 13:53:03 +02:00
Simon Binder 451bc9c930
Load imports for Dart files too (#2433) 2023-05-23 15:58:15 +02:00
Simon Binder a3ca77b5f8
Always write qualified column references from SQL 2023-05-16 10:51:33 +02:00
Simon Binder 1d63ccb3f1
Fix annotating top-level types and extensions
By not using a `SimpleIdentifier` AST node for class and extension
names, the code used to detect imports for Dart code was broken.
Closes #2423
2023-05-14 21:54:51 +02:00
Simon Binder 18868221d9
Support doc comments for columns in drift files 2023-05-10 12:00:44 +02:00
Simon Binder 6bb2c3d2c5
Support named constructors for rows in drift file 2023-04-23 16:21:31 +02:00
Simon Binder 5caa948243
Improve error handling for missing tables in query 2023-04-19 23:24:24 +02:00
Simon Binder 26434ca40b
Fix typo in test that is now an error 2023-03-13 22:46:43 +01:00
Simon Binder 849f245f53
Warn about invalid custom foreign key constraint 2023-03-13 22:30:14 +01:00
Simon Binder e0d5520ee1
Analyze foreign keys as custom constraint on cols 2023-03-13 21:51:16 +01:00
Fabian Freund dc9a9e2db3 fix parsing of nested cte's 2023-02-15 10:18:26 +01:00
Simon Binder ab10fd7f6f
Resolve columns sequentially 2023-02-01 10:50:20 +01:00
Simon Binder f9912d5455
Properly unify result classes with list columns 2023-01-31 22:58:30 +01:00
Simon Binder b935d27248
Add test for #2292 2023-01-31 22:25:58 +01:00
Simon Binder bff8d6c6a1
Fix nullability issues around record types 2023-01-27 17:12:49 +01:00
Simon Binder ef0cada32e
Merge queries with `LIST` columns 2023-01-23 21:46:51 +01:00
Simon Binder c3cd2f2eeb
Fix `DataClassName` annotation with extending 2023-01-10 17:38:25 +01:00
Simon Binder 6b4a186b15
Fix extending classes in modular mode (#2260) 2023-01-10 12:26:14 +01:00
Simon Binder bbb19d59bb
Ignore abstract tables (#1955) 2023-01-08 15:54:16 +01:00