https://linen.dev logo
e

Eugene Kulak

10/06/2021, 4:18 PM
Hey, is it known issue that UI doesn’t support json schemas with $ref? @Artem Astapenko
u

user

10/06/2021, 4:19 PM
like this
u

user

10/06/2021, 4:19 PM
it’s not an issue - it was never discussed or planned that it will work with ref
u

user

10/06/2021, 4:20 PM
well, it is limitation then 🙂 ref is a standard json schema feature
u

user

10/06/2021, 4:32 PM
there are also backend api endpoints that don’t support
$ref
u

user

10/06/2021, 4:33 PM
u

user

10/06/2021, 4:34 PM
we basically need to establish a level of jsonschema support and test that connector specs conform to it
u

user

10/18/2021, 9:14 AM
In addition to UI support, refs do not propagate to the generated Basic normalization transformations. It’s quite an issue with services that provide deeply nested data structures, especially when the same inner schemas are reused across many upper-level schemas. In this case, the only viable workaround, for now, is code duplication via (automated) ref inlining.
3 Views