Skip to content

Commit

Permalink
Clarify to support nested typeDSL (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-tan authored May 16, 2024
1 parent ce147ed commit 0211998
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ An implementation must resolve [$import](SchemaSalad.html#Import) and

Another transformation defined in Schema salad is simplification of data type definitions.
Type `<T>` ending with `?` should be transformed to `[<T>, "null"]`.
Type `<T>` ending with `[]` should be transformed to `{"type": "array", "items": <T>}`
Type `<T>` ending with `[]` should be transformed to `{"type": "array", "items": <T>}`.
This simplification should be applied recursively.

## Extensions and metadata

Expand Down

0 comments on commit 0211998

Please sign in to comment.