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
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
10.8.1
What operating system are you using?
Mac
Amplify Codegen Command
codegen models
Describe the bug
Feature Request
Currently the generated Dart models lack the owner property when using appropriate auth rules despite this field existing in AppSync. This creates friction for Amplify-Flutter devs trying to make or filter requests including the owner field in a type safe manner.
Expected behavior
When I run amplify codegen models, I expect the generated Dart models to have a public owner field and associated query field definition. Such that I can access the following:
Before opening, please confirm:
How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
10.8.1
What operating system are you using?
Mac
Amplify Codegen Command
codegen models
Describe the bug
Feature Request
Currently the generated Dart models lack the
owner
property when using appropriate auth rules despite this field existing in AppSync. This creates friction for Amplify-Flutter devs trying to make or filter requests including theowner
field in a type safe manner.Expected behavior
When I run
amplify codegen models
, I expect the generated Dart models to have a publicowner
field and associated query field definition. Such that I can access the following:Blog.owner
Blog.OWNER.eq('user_name')
Reproduction steps
n/a
GraphQL schema(s)
n/a
Additional information
No response
The text was updated successfully, but these errors were encountered: