Closed claustres closed 3 years ago
The bug still appears if the layer contains a template definition.
It is related to the fact we process the input layer options here, possibly adding internal objects like template compilers, and the processed options are then sent with the event. We should instead send the original options, not the processed ones.
post-robot complains about a circular structure to be serialized. Linked to the leaflet layer passed to post-robot instead of the layer definition object (see https://github.com/kalisio/kano/commit/0206e83072ae52e3d6b7a5a505d77f5eb4613f3b#diff-cfa165427c75bcb64098dc8e3fd2f7862a579348ac088ddee2af048a185ba081R211).