Skip to content

Merge upstream #395

New issue

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

Merged
merged 28 commits into from
Jun 13, 2025
Merged

Merge upstream #395

merged 28 commits into from
Jun 13, 2025

Conversation

SergeiPavlov
Copy link
Collaborator

No description provided.

alex-kulakov and others added 28 commits December 17, 2024 17:13
+ changelog created
additionally changelog created
For expressions as columns we cast to decimal first because there is a chance
it should be done because there is internal cast to decimal and this is the
reason that result type of column is decimal,
For simple column expressions we probably don't need cast, just trim
renames and summaries, also fixed wrong logic of property and its use
…imscale

Apply 'trim_scale' function to results of aggregation to improve compatibility with .NET decimal
- no versions as strings
- ability to upgrade model partially
- rename Enable -> EnableForVersion for better context on code reading
- no shared domain which should be disposed by next executing test,
  now tests prepare init database state for themselves and dispose domains
  they've produced.
- added explicitly launched tests for parts of model, which helps to track
  problems in any happens by isolating part of the model instead of
  having 100s of changes in upgrade sequence. Main complex upgrade is called
  as main
- organized types of model parts into two arrays and most of the time
  use array segments to get subset of the types.
- places where full namespaces needed where replaces with single storage
  of namespace - dictionary or constant string, which allow to change namespaces
  for all mentions at once.
# Conflicts:
#	Orm/Xtensive.Orm.Tests/Upgrade/DomainUpgradeTest.cs
#	Orm/Xtensive.Orm.Tests/Upgrade/Models/ModelVersion1.cs
#	Orm/Xtensive.Orm.Tests/Upgrade/Models/ModelVersion2.cs
#	Orm/Xtensive.Orm.Tests/Upgrade/Models/ModelVersion3.cs
#	Orm/Xtensive.Orm.Tests/Upgrade/Upgrader.cs
#	Version.props
- fix merge issues
- add async versions of tests
- remove firebird versions of tests (it was taken into account in main test version)
# Conflicts:
#	Orm/Xtensive.Orm.Tests/Upgrade/Upgrader.cs
#	Version.props
# Conflicts:
#	Version.props
@SergeiPavlov SergeiPavlov merged commit da23236 into master-servicetitan Jun 13, 2025
5 checks passed
@SergeiPavlov SergeiPavlov deleted the mergeUpstream branch June 13, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants