Open peterhuene opened 1 month ago
How much of the logic for --check
should be in this repo? I think that if the answer is "all of it", this is going to be the first case of "business logic" living in the sprocket repo. Not exactly a problem, but something that should be done intentionally.
I wonder if this would make more sense to live in one of the wdl-
crates (though which one isn't obvious to me).
I think it'd be fine to expose the "check" functionality from wdl-format
.
I've flipflopped. The "check" functionality isn't really anything other than input == formatted
. I think it's fine to house that logic within sprocket
just to keep things simple. Consider my comment revoked.
This option would be useful in CI where it would:
pretty-assertions
crate has a very nice implementation of this).