Simon Binder
008dfaf798
Avoid superfluous import
2024-04-05 21:42:51 +02:00
Simon Binder
d553a7f679
Use latest language version in test
2024-04-05 21:26:51 +02: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
ValentinVignal
d0ff1f29d6
test: Add a test with overridden companion classes
2024-03-06 21:00:26 +08:00
ValentinVignal
be70907e81
test: Add tests
2024-03-06 20:43:14 +08:00
Simon Binder
9c21e17d91
Add import references to generated insertable
2023-08-13 18:59:31 +02:00
Simon Binder
92dd82f49c
Restore cache on a per-element basis
2023-08-12 22:03:58 +02:00
Simon Binder
b048ce44d4
Avoid writing suffix twice ( #2281 )
2023-01-27 16:15:44 +01:00
Simon Binder
ebc1ba6899
Add test
2022-12-31 14:11:58 +01:00
Alexander Wilde
c80e6b6cbe
Fix tests
2022-12-01 04:43:27 +00:00
ValentinVignal
0c35d30dcb
💡 Better test description
2022-12-01 00:00:54 +08:00
ValentinVignal
b9892ece5c
✅ Verify the EnumNameConverter is used
2022-11-30 23:55:04 +08:00
Simon Binder
6512dc1cfc
Merge remote-tracking branch 'origin/develop' into modular-generation
2022-11-18 16:56:55 +01:00
Simon Binder
564b4c887f
Migrate remaining tests
2022-11-18 12:02:38 +01:00
Simon Binder
e63f089b46
Fix drift_dev test
2022-11-07 16:06:09 +01:00
Abitofevrything
658bd5d646
Update test case
2022-11-05 20:35:02 +01:00
Roman Laptev
b2796fc77e
[drift_dev] Update analyzer and deprecated methods ( #2084 )
2022-09-27 21:30:12 +02:00
Simon Binder
a89cef5262
Delete old moor packages
2022-08-14 22:57:37 +02:00
Simon Binder
b9a605ed25
Allow async mappings from SQL to row classes
...
When existing, custom row classes are used, drift now supports using a
(potentially asynchronous) static method to load them instead of just
a named constructor like before.
Tables are also changed to support the `map` method being async for
cases where that is needed. The same applies to custom queries which
may have to be async now.
2022-08-12 22:55:02 +02:00
Simon Binder
50a65b236a
Upgrade to latest analyzer
2022-08-06 22:11:44 +02:00
ValentinVignal
9bd2486c85
✅ Add a test to make sure data classes and companion classes are using a const constructor
2022-07-19 23:21:05 +08:00