Anders Eknert
Anders Eknert
Wow, that looks amazing! 😻
Anything more to do here, @charlieegan3 ?
Regarding issue number 2, it should be possible to anyOf (or whatever is equivalent) to allow either strings or objects, right? I'm not sure how advanced/modern constructs the YAML LSP...
Hi Odin! Ah, yes... that one is registered as mandatory: https://github.com/StyraInc/regal/blob/main/cmd/fix.go#L274 Although I don't remember now why we made it so 😅 But it was most likely for good reasons....
That makes perfect sense! I'll consult with @charlieegan3 on whether to change the defaults or the docs. Will let you know!
@charlieegan3 how much of this is relevant for the new docs? Obviously, being able to easily build the docs remains relevant :) But probably not most of the details here....
While I like this, is there something this provides more than what is shown in the example here? It feels like this would just as well be improved by a...
Discussing this with @srenatus, it would be pretty neat if an elipsis operator would encompass objects as well, so you could do object destructuring like: ```rego some {"name": name, "permissions":...
@johanfylling had an interesting case for this, where he wanted to do pattern matching for "last in path" without knowing the length of the array, e.g. something like ```rego walk(object,...
@alex60217101990 Hey! And thanks for your suggestion. I'm sorry though, but I'm not sure I understand your comment vs. your code. The code you posted _also_ iterates twice over the...