yaml-diff-patch icon indicating copy to clipboard operation
yaml-diff-patch copied to clipboard

Fix alias ordering error

Open rattrayalex opened this issue 2 years ago • 0 comments

I encountered an error because a yaml anchor was not detected before its reference in YAML's document.toString(). This wasn't because of an error in the yaml document at hand, but just because of the representation passed to the YAML library (which only gets one part at a time) so this verification should not take place by default.

Note this would conflict with https://github.com/grantila/yaml-diff-patch/pull/5; if you choose to merge that PR, this should have the options merged in.

rattrayalex avatar Aug 16 '23 16:08 rattrayalex