-
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
Autogenerated code has relationship ID in queries #1065
Comments
Hey @fistofzen, thank you for reaching out. To further dive deeper into the issue, could you provide some additional information. |
Hello Yes, generated ui has abcTypesByAbcID . import { |
The problem is with relationships flag. when I enable it, it generates the wrong form code as I mentioned above. Is there any workaroubnd for it? |
Hey @fistofzen, to better understand i will need to reproduce the behavior. If the these are auto-generated forms due to data models(GraphQL API). Can you run |
Project Identifier: bcba48597721297b52afcb62d9794b69 |
And also when I debug the code on amplify studio ->Content page. it has the same problem |
Hey @fistofzen, thank you for the information. Tried reproducing the issue but i did not observe the error message or import in the workout update form.
was the data model updated? What is the local Amplify CLI version( |
Hey @fistofzen, thank you for the information. On enabling the relationship fields in the UI builder did notice some behaviours and errors but wasnt able to replicate the same error message about the ID field not being defined. |
Hello ykethan, |
@fistofzen dived into the error message and noticed I was actually running into auth errors on modifying the default auth I was able to mitigate the errors. Addditonally, locally, I had previously ran
then run |
Hello, didnt worked. import { Regards |
Hey @fistofzen, on further diving into the project noticed the could you update the
|
Hello, when I replace the cli.json I am getting error when I "amplify push" as below. Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report' Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report' |
Hello, |
Hey @fistofzen, typically running |
Before opening, please confirm:
App Id
d22h1kgc6xq1y7
Region
eu-central-1
Environment name
rescue
Figma File Version (if applicable)
No response
Amplify CLI Version
No response
If applicable, what version of Node.js are you using?
No response
What operating system are you using?
No response
Browser type?
No response
Describe the bug
Hello,
when I pull the UI Library code, it also generates the relationship ID under queries.
for example abcTypesByAbcID is not in queries file.
import {
abcTypesByAbcID,
getAbc,
listTypes,
listUsers,
} from "../graphql/queries";
Regards.
Expected behavior
Not create abcTypesByAbcID,
Reproduction steps
pull UI-Library on react.
Project Identifier
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: