Skip to content
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

UI Library not generates the right code without Datastore #1064

Closed
fistofzen opened this issue Nov 9, 2023 · 3 comments
Closed

UI Library not generates the right code without Datastore #1064

fistofzen opened this issue Nov 9, 2023 · 3 comments
Labels
cli An issue that needs to be tracked by CLI team pending-triage An issue that is pending triage question An issue which is a question asked by a customer studio-ui An issue that needs to be tracked by Studio Console team

Comments

@fistofzen
Copy link

Which Specific Feature is your question related to?

UI Library

Question

Hello,
When I pull the project the files under ui-components have Datastore even though we not enabled Conflict resolution.
So In admin panel Datastore is disabled but when we pull the code In jsx file I can see code with Datastore

Is it correct ?

const record = idProp ? await DataStore.query(Member, idProp) : coachModelProp;

@fistofzen fistofzen added pending-triage An issue that is pending triage question An issue which is a question asked by a customer labels Nov 9, 2023
@ykethan
Copy link
Member

ykethan commented Nov 10, 2023

Hey @fistofzen, thank you for reaching. Could you provide us the following information that would enable us in diving deeper
the Amplify CLI version installed , we can run amplify -v to get the version?
the data model/schema being used?
additionally, could you run amplify diagnose --send-report and provide us the Project identifier output on your terminal.

@ykethan ykethan added pending-response An issue is pending response from the issue requestor cli An issue that needs to be tracked by CLI team studio-ui An issue that needs to be tracked by Studio Console team labels Nov 10, 2023
@fistofzen
Copy link
Author

Hello, the problem is the version of amplify version. After I executed amplify upgrade than everything worked well.

Thanks

@github-actions github-actions bot removed the pending-response An issue is pending response from the issue requestor label Nov 10, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli An issue that needs to be tracked by CLI team pending-triage An issue that is pending triage question An issue which is a question asked by a customer studio-ui An issue that needs to be tracked by Studio Console team
Projects
None yet
Development

No branches or pull requests

2 participants