Skip to content

Add sample with supported attributes #128

Add sample with supported attributes

Add sample with supported attributes #128

Triggered via push August 30, 2023 19:01
Status Failure
Total duration 39s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
build: SampleApp/Program.cs#L79
Attributes are not valid in this context.
build: SampleApp/Program.cs#L79
Attributes are not valid in this context.
build
Process completed with exit code 1.
build: SampleApp/PersonEntity.cs#L7
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: SampleApp/PersonEntity.cs#L9
Non-nullable property 'Firstname' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: SampleApp/PersonEntity.cs#L10
Non-nullable property 'Lastname' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: SampleApp/PersonEntity.cs#L11
Non-nullable property 'Address' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: SampleApp/Address.cs#L11
Non-nullable property 'Neighbours' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build
Argument of type '(int EnabledNullableKey, string? EnabledNullableValue)' cannot be used for parameter 'entity' of type '(int EnabledNullableKey, string EnabledNullableValue)' in 'Dictionary<string, AttributeValue> NestedNullableAnnotationTestClass_Document.NN_intEnabledNullableKeystringEnabledNullableValueSer_NN_intSer_N_stringSer((int EnabledNullableKey, string EnabledNullableValue) entity)' due to differences in the nullability of reference types.
build
Nullability of reference types in value of type '(int DisabledNullableKey, string? DisabledNullableValue)' doesn't match target type '(int DisabledNullableKey, string DisabledNullableValue)'.
build
Nullability of reference types in value of type '(int EnabledNullableKey, string? EnabledNullableValue)' doesn't match target type '(int EnabledNullableKey, string EnabledNullableValue)'.
build
Argument of type 'KeyValuePair<string?, int?>' cannot be used for parameter 'entity' of type 'KeyValuePair<string, int?>' in 'Dictionary<string, AttributeValue> KeyValuePairClass_Document.NN_KeyValuePairstringintSer_N_stringSer_N_intSer_NN_intSer(KeyValuePair<string, int?> entity)' due to differences in the nullability of reference types.
build
Argument of type '(int EnabledNullableKey, string? EnabledNullableValue)' cannot be used for parameter 'entity' of type '(int EnabledNullableKey, string EnabledNullableValue)' in 'IEnumerable<KeyValuePair<string, AttributeValue>> IExpressionAttributeReferences<(int EnabledNullableKey, string EnabledNullableValue)>.AccessedValues((int EnabledNullableKey, string EnabledNullableValue) entity)' due to differences in the nullability of reference types.