You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running in an issue however in my project; SQL-Statments with collate expressions now aren't parsed correctly any more in .moor files.
Simple Repro:
CREATETABLEFROMMOOR (
"textColumn"text
);
repro:
select*from FROMMOOR
order by textColumn collate nocase;
Behavior on moor_generator 2.4.0:
[INFO] Generating build script...
[INFO] Generating build script completed, took 352ms
[INFO] Initializing inputs
[INFO] Reading cached asset graph...
[INFO] Reading cached asset graph completed, took 68ms
[INFO] Checking for updates since last build...
[INFO] Checking for updates since last build completed, took 759ms
[WARNING] moor_generator|lib/src/analyzer/moor/moor_ffi_extension.dart was not found in the asset graph, incremental builds will not work.
This probably means you don't have your dependencies specified fully in your pubspec.yaml.
[WARNING] Invalidating asset graph due to build script update!
[INFO] Cleaning up outputs from previous builds....
[INFO] Cleaning up outputs from previous builds. completed, took 6ms
[INFO] Generating build script...
[INFO] Generating build script completed, took 66ms
[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 11.4s
[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 623ms
[INFO] Checking for unexpected pre-existing outputs....
[INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
[INFO] Running build...
[INFO] 1.0s elapsed, 1/5 actions completed.
[INFO] 3.9s elapsed, 1/5 actions completed.
[INFO] 5.0s elapsed, 1/5 actions completed.
[INFO] 8.5s elapsed, 1/5 actions completed.
[INFO] Running build completed, took 8.8s
[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 40ms
P.S.:
Since 3.0.0, semicolons are required to end statements in .moor files. Before, they were optional. You might want to include this in the Changelog to make it easier to migrate.
The text was updated successfully, but these errors were encountered:
Thanks for the report. As a workaround for now, you can enable the legacy_type_inferencebuild option. I'll fix this and release an update later today or tomorrow.
Hi there,
Thanks for the great update to 3.0.0!
I'm running in an issue however in my project; SQL-Statments with
collate
expressions now aren't parsed correctly any more in .moor files.Simple Repro:
Behavior on moor_generator 2.4.0:
Behavior on moor_generator 3.0.0:
P.S.:
Since 3.0.0, semicolons are required to end statements in .moor files. Before, they were optional. You might want to include this in the Changelog to make it easier to migrate.
The text was updated successfully, but these errors were encountered: