amplify-flutter icon indicating copy to clipboard operation
amplify-flutter copied to clipboard

Better experience on operating nested/associated models

Open HuiSF opened this issue 3 years ago • 15 comments

Description

This issue is to track the progress on providing functionality and better experience on the following

  • query nested/associated model
  • query with nested predicates
  • lazing loading of nested/associated model
  • cascade save and delete
  • observe nested/parent models changes
  • ...

Categories

  • [ ] Analytics
  • [ ] API (REST)
  • [X] API (GraphQL)
  • [ ] Auth
  • [ ] Authenticator
  • [X] DataStore
  • [ ] Storage

Steps to Reproduce

No response

Screenshots

No response

Platforms

  • [X] iOS
  • [X] Android

Environment

N/A

Dependencies

N/A

Device

N/A

OS

N/A

CLI Version

N/A

Additional Context

No response

HuiSF avatar Mar 10 '22 17:03 HuiSF

Hey Guys.. Is there any update on this issue?

ash007osh avatar Sep 19 '22 15:09 ash007osh

Hi, is there an update on this feature ?

sanchez-gonzalo94 avatar Oct 24 '22 23:10 sanchez-gonzalo94

Can we get an update please ?

raph avatar Dec 02 '22 23:12 raph

Would also love an update on this issue, a hasOne like relationship is now breaking when migrating to V2 and seems a little unstable to be on V2

bjkillen avatar Dec 19 '22 03:12 bjkillen

Hello, can you guys provide an update on this? query nested models is kind of a hassle.

sanchez-gonzalo94 avatar Jan 21 '23 21:01 sanchez-gonzalo94

It's better to use some alternate service. These guys will continue to become bottleneck otherwise

ash007osh avatar Jan 22 '23 06:01 ash007osh

It's better to use some alternate service. These guys will continue to become bottleneck otherwise

Recommendations ?

sanchez-gonzalo94 avatar Jan 22 '23 13:01 sanchez-gonzalo94

Hi guys, is this still something planned?

Rudrakle avatar May 17 '23 15:05 Rudrakle

Hi @Rudrakle - It is! We are working on improving the nested/associated models experience specifically for our GraphQL category. We will provide an update when we have expected ETAs for completing this.

abdallahshaban557 avatar May 18 '23 17:05 abdallahshaban557

pls is there an update to this issue am literally stuck

lebe24 avatar Jul 25 '23 17:07 lebe24

Hi @lebe24, we don't have any updates at the moment in regards to the overall issue here.

What, specifically, are you having trouble with at the moment?

dnys1 avatar Jul 25 '23 17:07 dnys1

ModelQueries.list(Question.classType,headers: );

doesn't query arrays

Screenshot 2023-07-26 at 17 00 08

In this json comment model Isn't parsed but return null below

Screenshot 2023-07-26 at 17 03 28

lebe24 avatar Jul 26 '23 16:07 lebe24

+1

maziarzamani avatar Sep 15 '23 09:09 maziarzamani

+1

AntoineArbourHGC avatar Dec 17 '23 16:12 AntoineArbourHGC

i cannot get the data in fields marked with @hasOne (nor from the observer, nor the query functions). is there a ticket for this? is it an expected behavior? i can create a new one if required.

qwertylolman avatar Apr 20 '24 14:04 qwertylolman