doc987

Results 11 comments of doc987

It looks like this was never updated. Is there another way to deserialze to an object instead of an associative array?

Are there plans to do so, or is this library no longer being maintained? I noticed there hasn't been a release since December 6, 2016. I would generally prefer an...

It's not so much a need, but a convenience. It's great for testing, and for new users who want to try it out. It's easier to just reference a JS...

Somewhat more typing than an array literal, but works okay. Any suggestions for an object literal?

I'm not familiar with the code for this project. Would you be able to provide any guidance on where a callback implementation should go? Any pointers or suggestions you have...

What do you think about changing the `$value` argument to a reference on some of the "check" functions in https://github.com/justinrainbow/json-schema/blob/master/src/JsonSchema/Constraints/Constraint.php? For example, consider the function `checkString()` shown below. ```php protected...

I was thinking that specific checks (e.g. string) didn't go through `UndefinedConstraint::check()`, but upon closer examination, it looks like that does happen. In that case, your suggestion (update https://github.com/justinrainbow/json-schema/blob/master/src/JsonSchema/Constraints/UndefinedConstraint.php) sounds...

I'm not sure that the expected outcome is relevant for this purpose. The callback functions would be called in all cases, so those functions get to choose what to do...

I was thinking that `$validator` (originally) or `$this->getErrors()` (more recently) would be passed to the callback, and provide the necessary information. In other words, if the test result information (including...

Is it possible to "wait" until all validations have been run for a field? In your example, that would mean that the post-validation callback isn't called until the not string...