You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/4-shapes.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Data structures in punchcard are like ordinary collections such as an `Array<T>`
4
4
Shapes are an in-code abstraction for (and agnostic to) data and schema formats such as JSON Schema, Glue Tables, DynamoDB, and (soon) Avro, Protobuf, Parquet, Orc.
5
5
6
6
```ts
7
-
classNotificationRecordextendsRecord({
7
+
classNotificationRecordextendsType({
8
8
key: string,
9
9
count: integer
10
10
.apply(Minimum(0)), // apply a Trait to constrain the value of this integer
@@ -51,7 +51,7 @@ The framework makes use of Shapes to type-check your code against its schema and
0 commit comments