Larry Garfield

Results 157 comments of Larry Garfield

Well, I think this works on the serialization side. I hate it, but it seems to work. But now it also fails on the deserialization side, and I... have really...

Here's the issue for deserialization (notes for me or someone else to pick up later): Flattening works by pulling out the values of an incoming stream that are relevant for...

Oh geez. I don't know that can be done in TypeMap directly without a BC break. With union types it *might* be possible, at an API level, but I'm not...

Hrm. "Lexical ordering" actually has two slightly different meanings. In this case it means "the order of the lexer", as in, the order in the file. (There's a chance I'm...

I'm curious what use case you have that makes multiple PostLoad methods make sense in the first place. The only use cases I could think of when making it were...

Interesting! Processing incoming form data is one of the use cases I had envisioned for Serde, but I hadn't thought that far ahead to how to dovetail validation together. That...

I can see why this approach is appealing, but as with arrays, it's also a lot of additional maintenance with a lot of edge cases. I could see an argument...

From section [7.1](https://www.php-fig.org/per/coding-style/#71-short-closures): > The expression portion MAY be split to a subsequent line. If so, the => MUST be included on the second line, and MUST be indented once....

AIUI, `assertEquals()` eventually has a `==` at the bottom of it somewhere, I think? (I got lost trying to track down to it.) It looks like the behavior is the...

What should we say here? "Favor using the non-parens version if you can", or is there more to say on the matter?