Open jake-netflix opened 1 year ago
@pomek is this something you could plan?
As an example, watchdog was scanning 100k unique objects (over 400k references to those objects) and then generating errors, because some of those objects are a
Proxy
that handleget
and throw if a key is unexpected. Since this happens during_create
, it fails to initialize altogether.
Interesting case, fyi @DawidKossowski as you were spending some time with Watchdog recently.
Similar to #373, it would be great if we could disable watchdog on the
<CKEditorContext>
component, so that there's no context watchdog running.As an example, watchdog was scanning 100k unique objects (over 400k references to those objects) and then generating errors, because some of those objects are a
Proxy
that handleget
and throw if a key is unexpected. Since this happens during_create
, it fails to initialize altogether.(It does this when it calls
getSubNodes
) https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-watchdog/src/utils/getsubnodes.tsAs a workaround, I use this:
And this class: