revoframework / Revo

Event Sourcing, CQRS and DDD framework for C#/.NET Core.
https://docs.revoframework.net/
MIT License
654 stars 70 forks source link

♻️ refactor: Newtonsoft.Json to System.Text.Json #74

Open Stoom opened 3 months ago

Stoom commented 3 months ago

Overview

This swaps out Newtonsoft.Json for the core library's System.Text.Json implementation.

Breaking changes

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 50.84746% with 29 lines in your changes missing coverage. Please review.

Project coverage is 35.61%. Comparing base (2853441) to head (ec1f116).

Files with missing lines Patch % Lines
...Extensions.Notifications/NotificationSerializer.cs 0.00% 8 Missing :warning:
...istory/ChangeTracking/Model/EntityAttributeData.cs 55.55% 4 Missing :warning:
....EFCore/DataAccess/Conventions/PrefixConvention.cs 0.00% 4 Missing :warning:
...ore/ValueObjects/SingleValueObjectJsonConverter.cs 81.81% 1 Missing and 1 partial :warning:
...structure/EventStores/Generic/Model/EventStream.cs 50.00% 2 Missing :warning:
...iguration/EF6InfrastructureConfigurationSection.cs 0.00% 1 Missing :warning:
Providers/EF6/Revo.EF6/Events/EF6EventsModule.cs 0.00% 1 Missing :warning:
...ration/EFCoreInfrastructureConfigurationSection.cs 0.00% 1 Missing :warning:
...Core/DataAccess/Conventions/LowerCaseConvention.cs 0.00% 1 Missing :warning:
...cess/Conventions/SnakeCaseColumnNamesConvention.cs 0.00% 1 Missing :warning:
... and 4 more
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/revoframework/Revo/pull/74/graphs/tree.svg?width=650&height=150&src=pr&token=1ZYN4m1hkn&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework)](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) ```diff @@ Coverage Diff @@ ## develop #74 +/- ## =========================================== + Coverage 35.54% 35.61% +0.06% =========================================== Files 472 472 Lines 6558 6537 -21 Branches 777 776 -1 =========================================== - Hits 2331 2328 -3 + Misses 4122 4105 -17 + Partials 105 104 -1 ``` | [Files with missing lines](https://app.codecov.io/gh/revoframework/Revo/pull/74?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) | Coverage Δ | | |---|---|---| | [...ory/ChangeTracking/TrackedChangeRecordConverter.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Extensions%2FRevo.Extensions.History%2FChangeTracking%2FTrackedChangeRecordConverter.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-RXh0ZW5zaW9ucy9SZXZvLkV4dGVuc2lvbnMuSGlzdG9yeS9DaGFuZ2VUcmFja2luZy9UcmFja2VkQ2hhbmdlUmVjb3JkQ29udmVydGVyLmNz) | `100.00% <100.00%> (ø)` | | | [Revo.Core/Events/JsonMetadata.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Revo.Core%2FEvents%2FJsonMetadata.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5Db3JlL0V2ZW50cy9Kc29uTWV0YWRhdGEuY3M=) | `92.30% <100.00%> (ø)` | | | [Revo.Core/ValueObjects/SingleValueObject.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Revo.Core%2FValueObjects%2FSingleValueObject.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5Db3JlL1ZhbHVlT2JqZWN0cy9TaW5nbGVWYWx1ZU9iamVjdC5jcw==) | `100.00% <ø> (ø)` | | | [...ture/Events/Async/AsyncEventProcessingException.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Revo.Infrastructure%2FEvents%2FAsync%2FAsyncEventProcessingException.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9FdmVudHMvQXN5bmMvQXN5bmNFdmVudFByb2Nlc3NpbmdFeGNlcHRpb24uY3M=) | `100.00% <ø> (+25.00%)` | :arrow_up: | | [...nts/Async/AsyncEventProcessingSequenceException.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Revo.Infrastructure%2FEvents%2FAsync%2FAsyncEventProcessingSequenceException.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9FdmVudHMvQXN5bmMvQXN5bmNFdmVudFByb2Nlc3NpbmdTZXF1ZW5jZUV4Y2VwdGlvbi5jcw==) | `66.66% <ø> (+16.66%)` | :arrow_up: | | [...structure/Validation/CommandValidationException.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Revo.Infrastructure%2FValidation%2FCommandValidationException.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9WYWxpZGF0aW9uL0NvbW1hbmRWYWxpZGF0aW9uRXhjZXB0aW9uLmNz) | `0.00% <ø> (ø)` | | | [...iguration/EF6InfrastructureConfigurationSection.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Providers%2FEF6%2FRevo.EF6%2FConfiguration%2FEF6InfrastructureConfigurationSection.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UHJvdmlkZXJzL0VGNi9SZXZvLkVGNi9Db25maWd1cmF0aW9uL0VGNkluZnJhc3RydWN0dXJlQ29uZmlndXJhdGlvblNlY3Rpb24uY3M=) | `0.00% <0.00%> (ø)` | | | [Providers/EF6/Revo.EF6/Events/EF6EventsModule.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Providers%2FEF6%2FRevo.EF6%2FEvents%2FEF6EventsModule.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UHJvdmlkZXJzL0VGNi9SZXZvLkVGNi9FdmVudHMvRUY2RXZlbnRzTW9kdWxlLmNz) | `0.00% <0.00%> (ø)` | | | [...ration/EFCoreInfrastructureConfigurationSection.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Providers%2FEFCore%2FRevo.EFCore%2FConfiguration%2FEFCoreInfrastructureConfigurationSection.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UHJvdmlkZXJzL0VGQ29yZS9SZXZvLkVGQ29yZS9Db25maWd1cmF0aW9uL0VGQ29yZUluZnJhc3RydWN0dXJlQ29uZmlndXJhdGlvblNlY3Rpb24uY3M=) | `0.00% <0.00%> (ø)` | | | [...Core/DataAccess/Conventions/LowerCaseConvention.cs](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree&filepath=Providers%2FEFCore%2FRevo.EFCore%2FDataAccess%2FConventions%2FLowerCaseConvention.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UHJvdmlkZXJzL0VGQ29yZS9SZXZvLkVGQ29yZS9EYXRhQWNjZXNzL0NvbnZlbnRpb25zL0xvd2VyQ2FzZUNvbnZlbnRpb24uY3M=) | `0.00% <0.00%> (ø)` | | | ... and [10 more](https://app.codecov.io/gh/revoframework/Revo/pull/74?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/revoframework/Revo/pull/74/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/revoframework/Revo/pull/74?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/revoframework/Revo/pull/74?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework). Last update [2853441...ec1f116](https://app.codecov.io/gh/revoframework/Revo/pull/74?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework).