Closed jo2 closed 4 months ago
No joy unfortunately, it doesn't seem to be detecting the change. We're on Amplify Gen 1, V5 (we are using Transformer V2), not sure if that's related. If there's a trick other than making a whitespace change in amplify/cli.json
(maybe I need to make a whitespace change in schema.graphql
as well?) then do let me know, thank you!
Oh yes, I should have been more explicit. Make a newline change to your schema.graphql
file.
Ah I see! 😅 The penny's dropped 😝 I'll give that a shot tomorrow, thanks for the info! 🙂
That did the trick 🥳 Thank you @dpilch, wouldn't be the first time needing to make a whitespace change in schema.graphql
has caught me out 🙈
Adding this (along with a schema whitespace change and adding some useless fields to be extra-sure)
"subscriptionsInheritPrimaryAuth": true
with amplify version 12.12.4 is still not working for me if I just check it in and let console do a push.
I have to run "amplify push" from a computer, like a moron.
Is there a way to pass this variable that un-bricks my app to the "amplifyPush --simple" command in my amplify.yml?
Also, since this undocumented breaking change seems to be breaking customer prod apps, will the COE be public?
does setting "subscriptionsInheritPrimaryAuth": true
work for continous backend deployments as well? or do i need to do amplify push for every environment? it does not seem to propapagate from my dev env to my other environments when i merge the branches and the app gets deployed...
You will need to do a push for each env.
You will need to do a push for each env.
Has this been fixed?
You will need to do a push for each env.
Has this been fixed?
Not technically.
The "subscriptionsInheritPrimaryAuth": true
works, though, for now.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.20.3
Amplify CLI Version
12.12.2
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
Describe the bug
I can't run update mutations in my code because the mutation does not return existing nested objects. Although the nested objects do exist, they are not returned in the mutation.
Expected behavior
Allthough the update of the mutation is executed, I'd also expect the nested fields to be returned.
Reproduction steps
These are the query
MyQuery
and the mutationMyMutation
I use:This is the data returned by
MyQuery
:This is the data returned by
MyMutation
:This is a part of the schema I use, I removed the auth rules and only included the parts of the schema I think are relevant for this issue:
I can't provide a minimal example project for this issue because this issue happens in only one of my environments. Other environments build in the same way, do not face this issue. The only difference was, that my working environment hat its last build on 2024-06-10 12:48 pm and the build for my failing environment was on the same day at 01:44 pm.
I apreceate any help I can get on this issue because this is blocking me in my project. If you need any more information, I'll gladly provide it.
Project Identifier
7a15e020679dc93ffd0710267d909f36
Log output
Additional information
No response
Before submitting, please confirm: