-
Notifications
You must be signed in to change notification settings - Fork 199
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
Error syncing model #3137
Comments
Hey @cappy123abc, we haven't tested using a type that has both
The error mentions |
Here is the Project model definition.
|
And some of the graphql response........ it appear the project is coming through fine.
|
That GraphQL response pertains to Another question about your setup, do you have the feature flag https://docs.amplify.aws/cli/migration/lazy-load-custom-selection-set/ |
To reduce the complexity of the schema and focus on verifying the key features are working, i'm using:
This appears to sync fine. I'm using v2.16.0 and with the feature flag |
Looking back at your original error, when syncing Inspection
If not, you can enable this to generate the latest model types (for more information on the changes: https://docs.amplify.aws/cli/migration/lazy-load-custom-selection-set/
|
I will regenerate the model files with the feature flag and let you know how it goes. Sorry for the slow response, I was out of office. |
We're considering this issue resolved. Please open a new issue as needed. |
Describe the bug
When datastore sync runs I get the following error for one of the models other models are syncing this schema is being used in a react native app and the syncing works fine leading me to think codegen might be the issue
The relevant part of the schema for this model is:
Steps To Reproduce
Expected behavior
Expected model to sync
Amplify Framework Version
2.12
Amplify Categories
API, DataStore
Dependency manager
Swift PM
Swift version
5.8.1
CLI version
10.8.1
Xcode version
14.3.1
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
macOS
OS Version
13.1
Device
10th gen iPad sim
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: