-
I need to query my db on a table that contains user actions in order to dynamically create Bouncer actions. How can i query on app start in order to provide Bouncer an array of profiles in every validation? |
Beta Was this translation helpful? Give feedback.
Answered by
arthur-er
Oct 7, 2021
Replies: 1 comment 1 reply
-
Use a preload file. $ node ace make:prldfile loadActions // start/loadActions.ts
// query the db here, and update the needed values. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
guntribam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use a preload file.