Wouterdek/NodeNetwork

NNViewRegistrar Pending registrations seems unusable

WhitePhoera opened this issue · 1 comments

In source code just found that usage of pending registrations will register Tuple<Func, Type>, but not Type itself.

Issue in line 55.
_registerAction(t.Item1, t.GetType());
must be
_registerAction(t.Item1, t.Item2);

I assume usually RegisterSplat or RegisterToLocator called before any pending registration created, so issue was missed.

Yup, that's a bug. Thanks for reporting it!