Sorin Sarca
Sorin Sarca
> The part that was more concerning to me was the use of Relative JSON Pointer. Last I checked, there was no way to turn that off. @jdesrosiers that can...
Unfortunately we don't have docs for $error yet. However, this comment contains an example https://github.com/opis/json-schema/issues/80#issuecomment-832103630 $error can be a string or an object. If it is a string then no...
From what I understand, you have 2-in-1 schema, and based on some context there should be a "split". Now, the problem is that you cannot make this split easy. Sure,...
Just to be clear: if in 99% of cases we have to detect the `readOnly/writeOnly` properties and patch the `required` than this can be done using a custom validator. I'll...
> Is the idea to only validate what would happen if I manually did an (int) cast where I use the property? That is, to ensure casting would safely yield...
@VGirol could you show an example of what this fix does? Thanks!
https://opis.io/json-schema/2.x/php-error-formatter.html
Since `test_datetime.php` works, I suspect that the problem is in carbon library.
I'm afraid that the problem is in PHP itself. The DateTime class is broken, and starting with PHP 7.4 some properties are not shown by the reflection. See https://3v4l.org/joLur ```php
@iPurpl3x your change might be okay, but we need some tests related to DateTime. Could you add some?