Open estahn opened 1 year ago
Hey @estahn
Interesting, do you have a screenshot of what is happening, and what you expect to happen, to help anyone who wants to pick this up.
@boyney123 I have added screenshots. I would assume running the schema through JSON.stringify({ a:1, b:2, c:3 }, null, 4)
before diffing it would solve the issue.
Have you read the Contributing Guidelines on issues?
Description
Schema's sometimes may have different formatting. Before passing the schema to the "differ" they should be normalised/formatted to achieve the best result. This is probably up for discussion, whether this is being done automatically by
eventcatalog
or via CLI when adding the schema.Motivation
Simplify workflow.
Example