Remove dependency on SvSerializer from MongoDB generator

Issue #45 closed
Stefan Glienke repo owner created an issue

The unit Spring.Persistence.SQL.Generators.MongoDB uses SvSerializer and SvSerializerSuperJson. The used MongoDB units that are used are using superobject.

So it would be better to use that one aswell in this unit to remove this extra dependency.

Comments (6)

  1. Linas Naginionis

    The reason why SvSerializer was used is that it serializes only those fields or properties marked with [Column] attribute. Also it correctly handles more complex types (IList<T>, Nullable<T>, etc.). But is used only for generating inserts and updates, so if we could generate proper json object in MongoDb generator, then SvSerializer would not be needed.

  2. Log in to comment