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 Builder should allow me to specify fields that come from relationships in my components #862

Open
johnpc opened this issue Mar 8, 2023 · 2 comments
Labels
feature-request An issue which is a feature-request created by customer studio-ui An issue that needs to be tracked by Studio Console team ui-components Issues related to UI builder component

Comments

@johnpc
Copy link

johnpc commented Mar 8, 2023

Describe the feature you'd like to request

I'd like to be able to build components that use data from related models.

Describe the solution you'd like

For example, if I have a Post hasOne Author, I should be able to design a component representing a Post where the post.author.name can be used as a field.

Describe alternatives you've considered

Right now, my only option is use to separate Post and Author properties, and write my own logic to make sure I pass in the ones that are related to each other.

Additionally, if I use two separate data models in my Post view component, I cannot use the Collections feature to make list views for my Posts.

Additional context

No response

@johnpc johnpc added pending-triage An issue that is pending triage feature-request An issue which is a feature-request created by customer labels Mar 8, 2023
@ykethan ykethan added ui-components Issues related to UI builder component studio-ui An issue that needs to be tracked by Studio Console team and removed pending-triage An issue that is pending triage labels Mar 8, 2023
@DougalW
Copy link

DougalW commented Apr 5, 2023

I second this issue (see also issue #869)

@edumats
Copy link

edumats commented Sep 5, 2023

I was surprised that Studio does not allow retrieving data from property that comes through a relationship. It is quite a common use case and it greatly limits the benefits of Amplify Studio, such as easily creating Collections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request An issue which is a feature-request created by customer studio-ui An issue that needs to be tracked by Studio Console team ui-components Issues related to UI builder component
Projects
None yet
Development

No branches or pull requests

4 participants