This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Description
It cannot be generalized, because the implementation (BytesMarshal) uses knowledge about the type (ObjectID). The main problem with generalization for NestedStructureMarshal is the lack of a proper signature for []Type where Type is generic.
We can apply similar optimization for other lists too (we have about 3-4 of them), this list caught my eye first.
Originally posted by @fyrchik in #389 (comment)