better / jsonschema2db

Generate tables dynamically from a JSON Schema and insert data

Home Page:https://better.engineering/jsonschema2db/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to use $ref

swilkinsmitre opened this issue · comments

Issue:
If I have a complex json which has a $ref like -
"$ref": "../common/my.json", then the library errors with the error =>TypeError: 'NoneType' object is not iterable

The element it is looking at is ".." of {"..", "common", "my.json"}.

Question: Should I be able to use a $ref to a another json file, either locally or based on $schema?