reactjs - Reparent relay connection element -


imagine have following structure, there connection of projects connection of tasks.

viewer {   id   projects(first:10) {     edges {       node {         id         tasks(first:10) {           edges {             node {               id               project_id             }           }         }       }     }   } } 

if make mutation change project_id of task, task should move projects tasks.

i cannot figure out how make relay getconfigs , return in payload of query. there missed?

my current thoughts return both previous project , new project in payload. use range_delete removing task previous projects tasks , range_add add new projects tasks.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -