Gabriel Oliveira Rozendo
Gabriel Oliveira Rozendo
I had same situation. Actually I'm using the built in DI for routes but I also have some job runners and those don't have a "api call", just a cron...
> Same issue on MacOS 13.2.1 with Docker 4.16.2 (95914). > > Update: Setting Docker to use **VirtioFS** solved the issue. Thanks @tanelainla it worked for me as well
other idea to checkout: https://pub.dev/packages/mid > mid is a tool to build an end-to-end typesafe API in dart. The tool generates an API server and a client library in addition...
I think that decoration (or anything else) would be necessary anyway to generate the API Docs #152 too...
The package [dotenv](https://pub.dev/packages/dotenv) solves this issue for me very well. In my dev env, I'm using a .env file and in the prd server, the env var from machine. IMO,...
> Yes of course: to read a yaml file is the easy solution (I've also applied it), but if you want to make more safe the environment, you do not...
an idea would be specify a section to reuse in containers... minimal example based on official docker-compose.yml (need to investigate if works as should be) ```yaml version: '3.4' x-environment: &default-environment...
I'm doing the same, using a `.env` file in dev and no file in prd. An alternative without try/catch: ```dart env = DotEnv(includePlatformEnvironment: true) ..load(File('.env').existsSync() ? const ['.env'] : const...