Commit Graph

642 Commits

Author SHA1 Message Date
Moshe Dicker e4cc10d7c9 add duplicate checker 2024-04-01 10:36:51 -04:00
Moshe Dicker 2d470dc660 Refoactor Builder 2024-04-01 10:18:51 -04:00
Moshe Dicker c7f310e46f Refactor Generation 2024-04-01 01:42:21 -04:00
Moshe Dicker fbd39a0d0a Add backref support 2024-03-31 01:26:15 -04:00
Moshe Dicker 5875e18458 remove join from composer state 2024-03-31 00:19:44 -04:00
Moshe Dicker 04c07a980a fix names 2024-03-29 17:31:26 -04:00
Moshe Dicker 83b04e7073 order typo 2024-03-29 11:44:56 -04:00
Moshe Dicker 7ed6ac5735 Hide some exports - Add manager to Database 2024-03-29 11:08:28 -04:00
Moshe Dicker 46953c3a73 Refactor ordering - Add better Docs 2024-03-29 10:44:59 -04:00
Moshe Dicker 1da0664c08 Initial Manager Commit 2024-03-29 02:20:58 -04:00
Simon Binder e1bdc6bde5 Fix missing commas between type arguments 2024-03-24 14:37:27 +01:00
ValentinVignal 304d3adafd
refactor: Make enforcedName nullable 2024-03-07 10:22:02 +08:00
ValentinVignal 113a693403
Merge remote-tracking branch 'upstream/develop' into drift-dev/name-the-companion-class
# Conflicts:
#	drift_dev/test/writer/data_class_writer_test.dart
2024-03-07 09:54:05 +08:00
ValentinVignal 6b1f54d647
test: Add a test with a custom companion name and a default data name 2024-03-07 09:52:57 +08:00
Simon Binder 914763b47a
Document sql column name builder option 2024-03-06 20:56:03 +01:00
ValentinVignal d0ff1f29d6
test: Add a test with overridden companion classes 2024-03-06 21:00:26 +08:00
ValentinVignal d768ceeb1a
feat: Name companion class 2024-03-06 21:00:13 +08:00
ValentinVignal be70907e81
test: Add tests 2024-03-06 20:43:14 +08:00
ValentinVignal 707eb72b07
feat: Add option use_sql_column_name_as_json_key 2024-03-05 21:27:32 +08:00
Simon Binder 863dbb61a9
Avoid picking wrong import alias
Closes #2904
2024-02-29 18:08:51 +01:00
Simon Binder 417c2c1207
Prepare release 2024-02-24 23:17:54 +01:00
ValentinVignal 059108fff6 test: Update the tests 2024-01-22 14:11:39 +01:00
ValentinVignal b2054b947b fix: Fix error message for non nullable converter 2024-01-22 14:11:39 +01:00
Simon Binder 261c151fbf
Keep import aliases in generated code 2024-01-18 21:26:39 +01:00
Simon Binder 38d603c1c6
Prepare release 2024-01-17 23:02:49 +01:00
Simon Binder f25eaf10f2
Support dialect-specific types 2024-01-10 23:29:27 +01:00
Simon Binder 615a1d7ad8 Use custom types for comparisons 2023-12-23 15:06:10 +01:00
Simon Binder 5e51fbc1fc
Fix other view test 2023-12-14 00:11:24 +01:00
Simon Binder ac627b1a10
Fix wrapping code with collection literals (#2787) 2023-12-14 00:00:39 +01:00
Simon Binder 08ceb939bc
Include `NULL` constraints in node->sql 2023-12-12 21:46:58 +01:00
Simon Binder b7f9c280c3
Prepare release 2023-12-11 23:55:37 +01:00
Simon Binder 829f45126c
Don't run discovery prematurely 2023-12-11 23:51:51 +01:00
Simon Binder 417d1f59d9 Fix generating variables with custom types 2023-12-10 14:23:19 +01:00
Simon Binder 633cc52129
Prepare 2.14 release 2023-12-04 11:07:21 +01:00
Simon Binder 27b459d3c6
Fix attached index not resolving 2023-12-04 11:02:40 +01:00
Simon Binder 5740eb8721
Fix generated code with $ in identifier names 2023-11-30 22:26:40 +01:00
Simon Binder 434982ac85
Make schema classes public (#2749) 2023-11-27 22:48:37 +01:00
Simon Binder 08241bfdd2
Merge branch 'more-plurals' into develop 2023-11-22 13:11:37 +01:00
Simon Binder 28c3c444e7
Re-run builders, add changelog entry 2023-11-22 13:09:09 +01:00
Abass Sesay 3fb9e50f75 removed duplicate test case 2023-11-22 03:00:07 +00:00
Heinrich 340462e379 Apply dart formatting 2023-11-21 17:08:12 +01:00
Heinrich e8a4c09027 unused_import 2023-11-21 17:08:12 +01:00
Heinrich 0029c44232 Apply dart formatting 2023-11-21 17:08:12 +01:00
Heinrich 6bb34e0db1 Ready for merge
Removed residual code and comments.
Commented and explained staticSource
Removed modularBuild and tested test
2023-11-21 17:08:12 +01:00
Heinrich 7c2c17d5e4 assumeCorrectReference resovels #2715
assumeCorrectReference option added
assume the correct reference of the dart code in views, when resolver fails.
2023-11-21 17:08:12 +01:00
Simon Binder 39018d381c
Don't generate const constr for non-const parent
Closes #2735
2023-11-19 14:33:55 +01:00
Simon Binder 72476628ad
Add changelog entry for column list update syntax 2023-11-18 00:34:55 +01:00
Abass Sesay f249494269 added test cases for inflections 2023-11-16 22:33:52 -05:00
Abass Sesay 581708a328
Merge branch 'simolus3:develop' into codespace-glowing-space-palm-tree-9vwjv7wx993p57x 2023-11-16 21:18:35 -05:00
Simon Binder 0b537b50c1
Reformat 2023-11-16 21:30:41 +01:00