dconsole icon indicating copy to clipboard operation
dconsole copied to clipboard

Support nested fields for the monitoring.

Open T1mL3arn opened this issue 11 years ago • 1 comments

In some cases are need to use that construction

DC.monitorField(object, 'field.nestedField', 'someProp');

because 'field' for some reasons can be null:

object.field = null;
// ...
DC.monitorField(object.field, 'nestedField', 'someProp');    // log error

T1mL3arn avatar Dec 08 '14 05:12 T1mL3arn

Thanks, its a nice feature, guess I'll have to include tests to make sure this works (multi targets , or in future versions etc..), will merge it soon :+1: :

tiagolr avatar Dec 08 '14 17:12 tiagolr