You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
today I ran into a problem when using the functionality implemented in #8: If I build a schema by extending an existing object instead of nesting everything and assigning null: true, a StackLevelTooDeep exception will be thrown.
As this seems to only happen with null as attribute which is internally translated to an any_of, I would suspect that it has something to do with this.
I will investigate a bit further myself, but maybe you have an idea what exactly is causing this instantly.
I find myself having a few problems following the gem's working due to its architecture.
The following is the smallest example I could produce that still causes the error.
It will print the stacktrace once its size reaches 3000.
Edit: I gave up trying to fix it myself... I am clearly not smart enough to fully understand this gem. A few comments and a little less magic would certainly help, but I'm sure someone else will be able to solve this easily.
Hi again 😅
today I ran into a problem when using the functionality implemented in #8: If I build a schema by extending an existing object instead of nesting everything and assigning
null: true
, aStackLevelTooDeep
exception will be thrown.As this seems to only happen with
null
as attribute which is internally translated to anany_of
, I would suspect that it has something to do with this.I will investigate a bit further myself, but maybe you have an idea what exactly is causing this instantly.
I find myself having a few problems following the gem's working due to its architecture.
The following is the smallest example I could produce that still causes the error.
It will print the stacktrace once its size reaches 3000.
The repeating portion seems to be:
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: