fauna / fauna-dotnet

Fauna FQL v10 driver for C#
Mozilla Public License 2.0
1 stars 1 forks source link

Generalize IDeserializer to ISerializer #143

Closed pnwpedro closed 4 months ago

pnwpedro commented 4 months ago

Description

This extends the IDeserializer interface to include both Serialize and Deserialize without fundamentally changing any implementation.

Motivation and context

This prepares us for,

  1. encapsulating serialize and deserialize behaviors for individual types to their own classes,
  2. exposing an extensible API so that users can register serialize/deserialize behaviors for custom types

How was the change tested?

All existing tests pass.

Screenshots (if appropriate):

N/A

Change types

Checklist: