Colm O'Connor

Results 161 comments of Colm O'Connor

Thanks Giacomo, Ill take a look tonight. On Wed, 26 Jan 2022, 13:23 Giacomo Benelli, ***@***.***> wrote: > Hi, thanks for strictYAML. Looking to replace my Schema-based validation > with...

Thanks, I'll take a look. On Fri, 19 Jul 2019, 11:33 Quibizo, wrote: > Hi, once again: > > I think I have narrowed down the cause of this bug....

Thanks I'll take a look. On Mon, 6 Apr 2020, 17:53 cgrigis, wrote: > Hello, > > I ran into this problem as well, and tried to narrow it down...

Interesting idea. Yeah, I'll have a think about how to do this :+1:

I know. I was thinking of combining it with the existing Enum type though - and I also wanted to TDD this code. On Sat, 14 Sep 2019, 16:13 James...

It should be possible. I'll try to write some code that will do this in about an hour or so. On Wed, 29 Apr 2020, 15:45 Florian Kromer, wrote: >...

Yes, sorry I didn't get around to writing it and I got distracted. I'll do so today. On Tue, 9 Jun 2020, 13:53 Chris Burr, wrote: > I've just stumbled...

It is possible with .revalidate I think. On Tue, 9 Jun 2020, 13:54 Colm O'Connor, wrote: > Yes, sorry I didn't get around to writing it and I got distracted....

@fkromer if I'm understanding you correctly, you an simply use a MapPattern: `semi_validated = load(my_yaml, MapPattern(Str(): Seq(Str())))` and then ``` if "variant_a" in my_yaml: semi_validated.revalidate(Map({" common": Seq(Str()), "variant_a": Seq(Str()), "variant_a_again":...

>I can workaround it by setting input to be a Map() and then looping over the keys to check which key exists so I can revalidate with the corresponding schema...