Closed noudin-ledger closed 5 months ago
Hi @noudin-ledger,
Thanks a lot for the feedback and the detailed issue.
It does seem like a bug on our side on the way we work with allOf
(the diff computation is not made in the CLI codebase, but on our cloud platform Bump.sh). I'll try to take some time to debug this next week and let you know when this is fixed.
Thanks :)
Hi @noudin-ledger, sorry for the long response time but this but has been fixed last week.
Let me know if you have any other questions and feel free to open up another issue if needed.
Hello, thanks for answering and fixing the issue! Don't worry if I have any question or new issues, I'll open one!
Bump CLI fails to validate that the diff of a file with itself is always empty.
It was the case in the past, and now it fails. Here is the a gist of the file: https://gist.github.com/noudin-ledger/66d6d2bac60e43fd467f25287d436e89 This fails with:
The error is triggered by the fact that the
SchemaEntry
schema component contains two properties that are defined by aallOf
. If I remove one of the two, it works. As I have seen no change in the code that could explain this, I think it might be a dependency issue, but I haven't nailed it down yet. The error in itself seems to show that bump cli fails to detect that AllOf1 and AllOf1 are the same:Extra informations:
I installed bump with
yarn global add bump-cli