Skip to content

Update EnumSchema.cs to handle Enums with duplicate values #150

Update EnumSchema.cs to handle Enums with duplicate values

Update EnumSchema.cs to handle Enums with duplicate values #150

Triggered via pull request September 18, 2024 19:07
Status Failure
Total duration 3m 32s
Artifacts

build&test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
build: src/AvroConvert/AvroObjectServices/Schemas/EnumSchema.cs#L86
'Dictionary<int, string>' does not contain a definition for 'TryAdd' and no accessible extension method 'TryAdd' accepting a first argument of type 'Dictionary<int, string>' could be found (are you missing a using directive or an assembly reference?)
build: src/AvroConvert/AvroObjectServices/Schemas/EnumSchema.cs#L86
'Dictionary<int, string>' does not contain a definition for 'TryAdd' and no accessible extension method 'TryAdd' accepting a first argument of type 'Dictionary<int, string>' could be found (are you missing a using directive or an assembly reference?)
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2. 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/Soltechnology.Avro.Kafka/Serialization/AvroConvertSchemaRegistrySerializer.cs#L28
'ISchemaRegistryClient.ConstructKeySubjectName(string, string)' is obsolete: 'SubjectNameStrategy should now be specified via serializer configuration. This method will be removed in a future release.'
build: src/Soltechnology.Avro.Kafka/Serialization/AvroConvertSchemaRegistrySerializer.cs#L28
'ISchemaRegistryClient.ConstructValueSubjectName(string, string)' is obsolete: 'SubjectNameStrategy should now be specified via serializer configuration. This method will be removed in a future release.'
build: tests/SolTechnology.FastMember.UnitTests/ChainingPropertyDescriptor.cs#L51
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build: tests/SolTechnology.FastMember.UnitTests/ChainingPropertyDescriptor.cs#L54
Nullability of type of parameter 'instance' doesn't match overridden member (possibly because of nullability attributes).
build: tests/SolTechnology.FastMember.UnitTests/ChainingPropertyDescriptor.cs#L54
Nullability of type of parameter 'filter' doesn't match overridden member (possibly because of nullability attributes).
build: tests/SolTechnology.FastMember.UnitTests/ChainingPropertyDescriptor.cs#L63
Nullability of type of parameter 'component' doesn't match overridden member (possibly because of nullability attributes).
build: tests/SolTechnology.FastMember.UnitTests/ChainingPropertyDescriptor.cs#L93
Nullability of type of parameter 'component' doesn't match overridden member (possibly because of nullability attributes).
build: tests/SolTechnology.FastMember.UnitTests/ChainingPropertyDescriptor.cs#L93
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
build: tests/SolTechnology.FastMember.UnitTests/HyperTypeDescriptionProvider.cs#L33
Nullability of type of parameter 'instance' doesn't match overridden member (possibly because of nullability attributes).
build: tests/SolTechnology.FastMember.UnitTests/HyperTypeDescriptor.cs#L21
Nullability of type of parameter 'attributes' doesn't match overridden member (possibly because of nullability attributes).