Amplify Codegen is a JavaScript toolkit library for frontend and mobile developers building Amplify applications.
59
stars
59
forks
source link
unnecessary_non_null_assertion for `updatedAt` and `createdAt` in `toString()` from dart generator #839
Open
koromkorom opened 4 months ago
Before opening, please confirm:
How did you install the Amplify CLI?
curl
If applicable, what version of Node.js are you using?
v18.20.2
Amplify CLI Version
12.12.0
What operating system are you using?
Mac
Amplify Codegen Command
codegen models
Describe the bug
Generation of default DateTime fields for flutter creates
unnecessary_non_null_assertion
warning intoString()
method for the exclamation marks:Expected behavior
No such warnings.
Reproduction steps
amplify pull
in flutter projectamplify codegen models
GraphQL schema(s)
Log output
Additional information
No response