Skip to content

Equivalent functionality to Akita's akitaPreUpdateEntity #243

Answered by NetanelBasal
silellak asked this question in Q&A
Discussion options

You must be logged in to vote

If you have a books repository with an update method, you can do it there:

class BooksRepo {
  updateBooks() {
    // this is your middleware
   
    store.update(...)
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NetanelBasal
Comment options

Answer selected by silellak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants