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
Trying to generate validator for this schema results in:
lua: ./jsonschema/store.lua:77: attempt to index field 'base' (a nil value)
stack traceback:
./jsonschema/store.lua:77: in function 'resolve'
./jsonschema.lua:167: in function 'validator'
./jsonschema.lua:662: in function 'generate_validator'
./jsonschema.lua:173: in function 'validator'
./jsonschema.lua:1191: in function 'generate_main_validator_ctx'
./jsonschema.lua:1208: in function 'generate_validator'
validate.lua:23: in main chunk
[C]: in ?
I cannot understand what is the purpose of this condition? I can try to fix it but i'm afraid to break something else that was supposed to be fixed by it...
The text was updated successfully, but these errors were encountered:
Hi,
I was testing a jsonschema that can be simplified to:
Trying to generate validator for this schema results in:
which is because of this if condition here:
jsonschema/lib/jsonschema/store.lua
Line 231 in a55072d
I cannot understand what is the purpose of this condition? I can try to fix it but i'm afraid to break something else that was supposed to be fixed by it...
The text was updated successfully, but these errors were encountered: