You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We run konstraint doc a lot, and we just added our first policy with multiple parameters. The parameters are sometimes randomly reordered in the policies.md file, which is annoying and means I end up running konstraint doc again until they stay the way they were. I traced the problem here:
We run konstraint doc a lot, and we just added our first policy with multiple parameters. The parameters are sometimes randomly reordered in the policies.md file, which is annoying and means I end up running konstraint doc again until they stay the way they were. I traced the problem here:
konstraint/internal/commands/document.go
Line 275 in 67e69cd
Go map elements are returned in random order. It would be helpful if they could be sorted before this line.
Thanks.
The text was updated successfully, but these errors were encountered: