top level await workaround in drizzle.config?
i've read a bunch of gh issue threads about this, and haven't really found a workaround for when i strictly need to await the loading of credentials. does anyone have a workaround?
1 Reply
Have you tried
- using .env instead
- use child_process to synchronously spawn the script that returns the credentials
- using separate script that runs before drizzle to retrieve the credentials and put it in a temporary file.