Open timotheecour opened 5 years ago
Is it in scope of a mongodb driver though, which nimongo is? Could be well implemented separately.
yes, it could be a separate nimble package (that would depend on nimongo/bson); but can we keep it open as placeholder
validation at CT
to make programs more type safe and prevent errors due to field name or type, the following would be very useful:
serialization/deserialization
similar to above but I don't think it can be reduced to a common use case in Bson which is to specify only a subset of fields
Note: this is implemented in D in vibe.d