Monorepo for Tangled โ€” https://tangled.org

Incorrect lexicon schema for spindles #131

closed
opened by mary.my.id

getting validation errors when trying to generate atcute's codegen types from Tangled's lexicon documents

schema validation failed for "../../../lexdocs/tangled/pipeline.json"
invalid_literal at .defs.manualTriggerData.properties.inputs.items.type (expected "boolean", "integer", "string", "unknown", "bytes", "cid-link", "ref", "union" or "blob") (+ 3 other issues)
- invalid_literal at .defs.manualTriggerData.properties.inputs.items.type
- invalid_literal at .defs.workflow.properties.environment.items.type
- invalid_literal at .defs.dependencies.items.type
- invalid_literal at .defs.step.properties.environment.items.type

it seems that Tangled is attempting to define nested objects when that's explicitly not supported in lexicon documents. objects are required to be defined in the toplevel so that they would have a type identifier.

thanks for the info! the lexicon will be reworked accordingly.

should be fixed now!

sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 3
AT URI
at://did:plc:ia76kvnndjutgedggx2ibrem/sh.tangled.repo.issue/3ltjbdqaxwk22