JakobVogelsang / oscd-action-translate

Apache License 2.0
0 stars 2 forks source link

Complex edits are not handled #1

Open danyill opened 1 year ago

danyill commented 1 year ago

If the event detail is a complex Edit (i.e. is an array) we can probably do this:

    const flatEdits = [event.detail].flat(Infinity as 1);

This would be useful for me as the subscribe functionality only returns complex Edits.

I see this project is forked in the open-scd organisation but there are no issues there ATM

danyill commented 1 year ago

Hmmm... no the code seems to handle them so I must investigate why they are not working for me.