Skip to content
#

selector

Here are 308 public repositories matching this topic...

videni
videni commented Sep 29, 2019

what is prefer way to add relation and remove relation? I found example as below, but I did't find any document about the two methods.

 case 'ADD_AUTHOR_TO_BOOK':
        Book.withId(action.payload.bookId).authors.add(action.payload.author);  // add new entity ,  add relation?  this doesn't work.
        break;
    case 'REMOVE_AUTHOR_FROM_BOOK':
        Book.withId(action.payload.bo

Improve this page

Add a description, image, and links to the selector topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the selector topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.