Re:Databases always have a schema (2018)
by scarface74 on Tuesday February 26, 2019 @08:18AM
(#19253990)
That comes down to organizational standards. When I worked with Mongo, all of the code was done in C# and the POCOs were in a shared internal Nuget package. There was never any harm in using older POCOs. You can add a catchall property to the POCOs that round trip any fields that it doesn’t know about.
Classic example being that our code used visibility_score but a tool was adding a visibilityScore property to every document as part of a cron job calculation.