Artem Zakirullin

Results 9 comments of Artem Zakirullin

I believe it's not. Since client-side code won't get any confidence about the value under each key (would have to do if-else every iteration). ```php $mess = new Mess($whatever); foreach...

Also maybe we should consider something like this: ```Mess::getArrayOfStringToCustom(callable $checker) Mess::getAsArrayOfStringToCustom(callable $caster) ``` And a few default callables like the one you've mentioned: ``` $mess->getArrayOfStringToCustom(Type::stringOrNull()); // array ``` Just thinking.

@BrekiTomasson Hi there! Thanks for your feedback! Originally, `findAsInt()` method is supposed to act like "find me something that looks like an integer or return null". We came up with...

On the other had, if we're dealing with messy stuff here anyway, maybe some common solution would do. Something like (kinda v2 api): ```php int(): int // getInt nullableInt(): ?int...

It's just I am a bit concerned with the cognitive load one should bear once we introduce some additional value provider abstraction. I.e. once a reader sees `getInt()` call, he...

@codeguy Hi there! Care to see the PR?

> yes it was accidental i am really sorry It's okay, I haven't merged it yet. Can you please revert it back and I'll accept your PR as whole?

I run the build (`cmake -S . -B 'build' && cmake --build 'build'`) and got a few errors