Closed SeanCondon closed 2 years ago
Hi @wenovus - do you mind taking a look at this one please?
Now this is technically a backwards-incompatible change. Only the order is affected, but I'm wary of just introducing this change now that we're at version 1.0.0.
Sorry about the very late comment -- is it inconvenient for you to sort them downstream on your own instead of depending on goyang to sort it?
Hi @wenovus - I can't really see how it is backward in-compatible - there used to be 2 outputs of enums in generated.go
:
generate
it was backward in-compatible. Now with this patch running generate
the enums are ordered alphabetically it will be another variation of this order - just that it will be consistent with the previous runs order and with the generated code (1)The only way I think it can be considered a problem is that someone was depending on the order to be different every time (while this was likely, there was no guarantee of this)
Ah I see, this is actually a bug fix that makes the code deterministic. Sorry I should've read the issue you opened. Thanks for the clarification!
@wenovus Thanks for merging. BTW - would it be possible to release this? Is that a manual process?
See issue #234