NCIOCPL / NCI.OCPL.Api.Shared

Common code shared between APIs
0 stars 1 forks source link

Enabler: Move InterfaceJsonConverter<T> to common code #22

Closed blairlearn closed 3 years ago

blairlearn commented 3 years ago

As part of migrating the Glossary API to .Net 3.1, it was necessary to create a custom JSON converter for serializing Interfaces.

This class should be used for all the places our APIs have interfaces as model properties and should therefore be part of the shared codebase.

Parent Issue: Glossary API .Net 3.1 upgrade

Sub-Tasks

Notes

As of June 2021, Polymorphic serialization is slated for .Net 3.1. See issue 30083 on the dotnet/runtime repository.

blairlearn commented 3 years ago

Closed by 6814114e8f3ce5ed4b3ce9f3afa5ec1c6e29056d