Adding some more test coverage of the MappingContext and FieldInfo instantiation of serializers for built-in types, as well as a couple tests for duplicate field names.
Motivation and context
More test coverage is a Good Thing.
How was the change tested?
Ran tests locally with dotnet test --framework net8.0 - will let the GH Action validate net6.0.
Change types
[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (backwards-incompatible fix or feature)
[x] N/A (test only)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to Fauna documentation.
[ ] My change requires a change to the README, and I have updated it accordingly.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description
Adding some more test coverage of the
MappingContext
andFieldInfo
instantiation of serializers for built-in types, as well as a couple tests for duplicate field names.Motivation and context
More test coverage is a Good Thing.
How was the change tested?
Ran tests locally with
dotnet test --framework net8.0
- will let the GH Action validate net6.0.Change types
Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.