Skip to content

Change DocumentAttribute.Required default value to true #1256

Change DocumentAttribute.Required default value to true

Change DocumentAttribute.Required default value to true #1256

Triggered via push September 3, 2024 19:33
Status Success
Total duration 3m 57s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v1, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Wolverine/Runtime/Agents/AssignAgent.cs#L33
'AssignAgent' defines 'Equals' but not 'GetHashCode'
build: src/Wolverine/Runtime/ServiceContainer.cs#L113
Nullability in constraints for type parameter 'T' of method 'ServiceContainer.GetInstance<T>()' doesn't match the constraints for type parameter 'T' of interface method 'IServiceContainer.GetInstance<T>()'. Consider using an explicit interface implementation instead.
build: src/Wolverine/Codegen/StandInVariable.cs#L10
Non-nullable field '_inner' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: src/Wolverine/Codegen/StandInVariable.cs#L19
Possible null reference return.
build: src/Wolverine/Codegen/ServiceVariables.cs#L46
Possible null reference return.
build: src/Wolverine/Codegen/ServiceVariables.cs#L51
Possible null reference return.
build: src/Wolverine/Codegen/ServiceVariables.cs#L56
Cannot convert null literal to non-nullable reference type.
build: src/Wolverine/Codegen/ServiceVariables.cs#L63
Possible null reference return.
build: src/Wolverine/Codegen/ArrayPlan.cs#L25
Possible null reference argument for parameter 'descriptor' in 'SingletonPlan.SingletonPlan(ServiceDescriptor descriptor)'.
build: src/Wolverine/Codegen/ArrayPlan.cs#L30
Possible null reference argument for parameter '@default' in 'ArrayPlan.ArrayPlan(Type elementType, IReadOnlyList<ServicePlan> elements, ServiceDescriptor @default)'.
build
.NET 7.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
build: build/build.cs#L295
Possible null reference return.
build: build/build.cs#L300
Possible null reference argument for parameter 'element' in 'TargetFrameworkAttribute? CustomAttributeExtensions.GetCustomAttribute<TargetFrameworkAttribute>(Assembly element)'.
build: build/build.cs#L300
Dereference of a possibly null reference.
build: src/Samples/KitchenSink/MartenAndRabbitMessages/Issue.cs#L9
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Samples/KitchenSink/MartenAndRabbitMessages/Issue.cs#L10
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Samples/CQRSWithMarten/TeleHealth.Common/Appointments.cs#L80
Non-nullable property 'ProviderName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Samples/CQRSWithMarten/TeleHealth.Common/Appointments.cs#L11
Non-nullable property 'FirstName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Samples/CQRSWithMarten/TeleHealth.Common/Appointments.cs#L12
Non-nullable property 'LastName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Samples/CQRSWithMarten/TeleHealth.Common/BoardView.cs#L60
Non-nullable property 'PatientName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Samples/CQRSWithMarten/TeleHealth.Common/BoardView.cs#L71
Non-nullable property 'Provider' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.