You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the Goth library which on start relies on a system environment variable having been set. From my understanding mix is responsible for starting dependencies before the main application starts, which is where we use Vapor to load in environment variables.
Is there any way to deal with this situation nicely? i.e. use vapor to load environment variables before the application is started?
I'm also curious to know, in general should library authors not be using System.get_env? Is this more a case of a poorly thought out library or is it just a limitation of Vapor?
The text was updated successfully, but these errors were encountered:
I'm currently using the Goth library which on start relies on a system environment variable having been set. From my understanding mix is responsible for starting dependencies before the main application starts, which is where we use Vapor to load in environment variables.
Is there any way to deal with this situation nicely? i.e. use vapor to load environment variables before the application is started?
I'm also curious to know, in general should library authors not be using System.get_env? Is this more a case of a poorly thought out library or is it just a limitation of Vapor?
The text was updated successfully, but these errors were encountered: