Skip to content

Commit 9804d3d

Browse files
committed
find meta tweak
1 parent 3a802fa commit 9804d3d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/core/src/backend/schema/jsonschema.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ class SchemaBuilder {
5454
if (node.meta?.doc || node.meta?.defaultValue !== undefined) return node.meta;
5555
if (node.kind === "optional") return this.findMeta(node.attrs.node);
5656
if (node.kind === "repeat") return this.findMeta(node.attrs.node);
57-
if (node.kind === "sequence") {
58-
const nonLiteral = node.attrs.nodes.find((n) => n.kind !== "literal");
59-
if (nonLiteral) return this.findMeta(nonLiteral);
60-
}
6157
return node.meta;
6258
}
6359

0 commit comments

Comments
 (0)