-
Notifications
You must be signed in to change notification settings - Fork 31
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
Cannot update conflict resolution settings #1040
Comments
Hey @jo2, thank you for reaching. tried reproducing the issue but did not observe this behavior. Created a schema and pushed which disabled the transferring the issue to studio repository. |
Sadly, as I said, with another project I couldn't reproduce it myself. What kind of configuration information would help you, the |
Hey @jo2, from the provided project identifier verified the
which indicates the conflict resolution is enabled. could provide us the following information.
|
Here is the content of the
I ran the steps you've listed in your comment, I'm still facing the same issue. |
@jo2 interesting, this does provide the information that conflict resolution/Datastore has been enabled for the application. |
Hey @jo2, the info messages should not effect the conflict resolution. |
additionally, could you ensure if the correct environment has been selected in studio. The a drop down list of env names should be present at the middle of the page. |
Hey @jo2, could you try pulling the |
After running I'll contact you via discord for a meeting time. |
Hey @jo2, wanted to provide an update on this issue. I was successfully able to reproduce the issue. It appears the marking this as bug for further investigation. |
Thanks! I'm looking forward to having this fixed. Originally I stumbled over this because running I thought on checking up with the Amplify Studio Data modeling page, where I found that there was no schema either. Might this amplify mock issue being related to what I'm seeing in Amplify Studio? |
@jo2 interesting, thank you for the information. The team will need to dive in further to see if the issue is due to the resolvers. Tested the Data manager but did not experience an sync issue on the model. note:, diving into the browser network logs it does appear the schema in Data modelling is currently retrieved but no errors were logged. |
Thanks! Let me know if there is some additional information from my part you may need. |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.16.0
Amplify CLI Version
12.5.0
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
I'm facing the issue, that Amplify Studio does not show my data model. Instead it displays an error message, that "New APIs created within Studio will now be configured with Conflict Resolution disabled by default. In order to use DataStore, this setting can be changed in the GraphQL API Settings page by selecting a conflict resolution option." When I activate Conflict Resolution, I can't hit save and deploy in Studio because that button is not displayed. As a solution I want to update this setting using the CLI.
To do so, I use
amplify update api
:In my
transform.conf.json
I can see that this is set. When I then runamplify push
the setting in Amplify Studio is still disabled.Expected behavior
amplify update api
in combination withamplify push
should push the implemented changes to the cloud.Reproduction steps
sadly, I can't reproduce this issue because in an other project everything works fine.
Project Identifier
7a15e020679dc93ffd0710267d909f36
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: