Closed rhamzeh closed 4 months ago
In the below case, Language should not treat it as unsupported by DSL, and should allow it
- name: relation def where this is not in first place json: >-2 { "schema_version": "1.1", "type_definitions": [ { "type": "user", "relations": { "rel1": { "this": {} }, "rel2": { "union": { "child": [ { "computedUserset": { "relation": "rel1" } }, { "this": {} } ] } } }, "metadata": { "relations": { "rel1": { "directly_related_user_types": [ { "type": "user" } ] }, "rel2": { "directly_related_user_types": [ { "type": "user" } ] } } } } ] } valid: true
In the below case, Language should not treat it as unsupported by DSL, and should allow it