suggests that the node cache might have been supplied through other means, but there's currently not possible; the proposed change allows for it.
This is a change we made within a project to fix a production bug in the component that built an arbitrarily large and deep set of nested OrderedList objects, before saving it -- without the ability to pass along an existing, paritlally-populated, node cache, we were getting collisions on ids once the whole set was persisted.
The initialization line:
suggests that the node cache might have been supplied through other means, but there's currently not possible; the proposed change allows for it.
This is a change we made within a project to fix a production bug in the component that built an arbitrarily large and deep set of nested OrderedList objects, before saving it -- without the ability to pass along an existing, paritlally-populated, node cache, we were getting collisions on ids once the whole set was persisted.