-
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
CPK SQLite Support #11017
Comments
Hey 👋 Will we be seeing this soon? |
Same here, would be great to know whether this feature is being planned or or whether it's been discarded. In my case I'm using Amplify with 2 types of clients: a react web app and a react-native app. I've been using CPKs with models following DynamoDB best practices. Trouble is that this has required to set the This is quite a setback, as it's going to involve redefining data model keys, relationships, destroying tables and pretty much recreating the environment. Not an ideal DX in my view. I might be wrong on this part and it might not be necessary to redefine all models Could you also shed some light on what are the current plans for supporting CPKs when using the SQLite adaptor? thanks |
Is this related to a new or existing framework?
React Native
Is this related to a new or existing API?
DataStore
Describe the feature you'd like to request
Add CPK support to SQLite adapter. New projects are created with
respectPrimaryKeyAttributesOnConnectionField
set totrue
by default. This results in new projects using SQLite to face issues.Workaround
If you are facing issues with SQLite please set
graphQLTransformer.respectPrimaryKeyAttributesOnConnectionField
tofalse
as a workaround.The text was updated successfully, but these errors were encountered: