Skip to content

Commit 6a0b1b7

Browse files
author
Jakub Jankowski
committed
chore: comments
1 parent b437a72 commit 6a0b1b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/shared/Validations.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export function getValidationsFromSchema(schemaNode: RegularNode) {
180180
...(schemaNode.annotations.examples ? { examples: schemaNode.annotations.examples } : null),
181181
}
182182
: null),
183+
// TODO: replace `fragment` once JST supports `const` and `x-example`
183184
...('fragment' in schemaNode
184185
? {
185186
...('const' in schemaNode.fragment ? { const: schemaNode.fragment.const } : null),

0 commit comments

Comments
 (0)