We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Schema classes for Postgres, Redis and SqlServer do this:
var names = Assembly.GetManifestResourceNames().Where(x => x.EndsWith(".sql")).OrderBy(x => x);
When you have invariant globalization enabled in csproj
<PropertyGroup> <InvariantGlobalization>true</InvariantGlobalization> </PropertyGroup>
it breaks initialization of Eventous as the order of scripts after OrdeBy is different and _Schema.sql lands at the end.
_Schema.sql
"AppendEvents.sql", "CheckStream.sql", "ReadAllForwards.sql", "ReadStreamForwards.sql", "ReadStreamSub.sql" "_Schema.sql",
This results in Npgsql.PostgresException: '42704: type public.stream_message[] does not exist' exception.
To Reproduce
Set <InvariantGlobalization>true</InvariantGlobalization> in csproj. Run the booking demo app.
<InvariantGlobalization>true</InvariantGlobalization>
Expected behavior
Initialization works
The text was updated successfully, but these errors were encountered:
Would probably be a pretty easy fix by prefixing the files with a number for sorting. This would probably be a good idea to do for sqlserver as well
Sorry, something went wrong.
Fixes #314
48d1238
Fixes #314 (#340)
f3d8029
Successfully merging a pull request may close this issue.
Describe the bug
Schema classes for Postgres, Redis and SqlServer do this:
When you have invariant globalization enabled in csproj
it breaks initialization of Eventous as the order of scripts after OrdeBy is different and
_Schema.sql
lands at the end.This results in Npgsql.PostgresException: '42704: type public.stream_message[] does not exist' exception.
To Reproduce
Set
<InvariantGlobalization>true</InvariantGlobalization>
in csproj. Run the booking demo app.Expected behavior
Initialization works
The text was updated successfully, but these errors were encountered: