Add hint when assigning wrong target value type in ComponentSingleSetter

Issue #44 resolved
Christian Oeing repo owner created an issue

Right now it's possible to assign any type to a target binding of ComponentSingleSetter. The type should be at least checked and a warning should be displayed in inspector and/or throw a warning during runtime.

Comments (4)

  1. Christian Oeing reporter

    ComponentSingleSetter.OnTargetChanged => Does a safe conversion with "as TComponent". This would be the place to throw a warning.

  2. Christian Oeing reporter

    For ComponentSingleSetter and ComponentSingleGetter errors are logged now when a target object with a wrong type is assigned from a data binding

  3. Log in to comment