Skip to content

Commit 04e2262

Browse files
authored
fix: Remove reference to using default with enum (#8311)
1 parent a2ec6ab commit 04e2262

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/data/data-modeling/add-fields

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/data/data-modeling/add-fields/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ const schema = a.schema({
224224

225225
## Assign default values for fields
226226

227-
You can use the `.default(...)` modifier to specify a default value for optional [scalar type fields and enums](https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html). The `.default(...)` modifier is not available for custom types, arrays, or relationships.
227+
You can use the `.default(...)` modifier to specify a default value for optional [scalar type fields](https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html). The `.default(...)` modifier is not available for custom types, arrays, or relationships.
228228

229229
```ts
230230
const schema = a.schema({

0 commit comments

Comments
 (0)