-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataStore - Backend subscriptions filtering error #13384
Comments
Hi @mhyassin, thanks for raising this issue and providing reproduction steps. Can you confirm what version of the Amplify CLI you're using? amplify --version Also, if you can, please share you schema. Using a custom primary key might be enough to reproduce the issue but it might be helpful just in case there's something else we might be missing in our reproduction efforts. |
Hi @chrisbonifacio, type User
@model
@auth(
rules: [
{
allow: owner
operations: [read, update, create, delete]
identityClaim: "username" # explicit use of username
ownerField: "user_name"
}
]
) {
user_name: String! @primaryKey
email: String!
firstname: String
lastname: String
# and other optional attrs
} |
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Authentication, GraphQL API, DataStore, Storage
Amplify Version
v6
Amplify Categories
No response
Backend
None
Environment information
Describe the bug
I'm getting this issue when adding
syncExpressions
to the Datastore configurationFor more context see aws-amplify/amplify-category-api#1796
Expected behavior
The syncExpressions should run without any filtering errors
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: