Open
Description
Description
I have schema like this
type Entry @model {
id: ID!
draftRecordID: ID @index
}
With Amplify GraphQL, I can set draftRecordID to null.
With Amplify DataStore, I can not, even with
entry.copyWithModelFieldValues(draftRecordID: const ModelFieldValue.value(null));
Categories
- Analytics
- API (REST)
- API (GraphQL)
- Auth
- Authenticator
- DataStore
- Notifications (Push)
- Storage
Steps to Reproduce
Create schema with a nullable String index. Set the String index field to a value. Attempt to remove that value by setting it to null
.
Screenshots
No response
Platforms
- iOS
- Android
- Web
- macOS
- Windows
- Linux
Flutter Version
3.19.1
Amplify Flutter Version
1.6.1
Deployment Method
Amplify CLI
Schema
type Entry {
id: ID!
draftRecordID: ID @index
}