Generate different data types for Env file
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the Env generation and .env parsing entry points; no specific files or tests are named in the issue. Done means boolean values become bools, numeric values use an appropriate numeric type, and values such as URLs remain strings.
Written by the indexing model from the issue text.
Description
Right now, if I have a .env file:
URL=https://api.cool.com
API_VERSION=10
USE_LOGGING=true
All 3 of the values above will be inserted into the Env class as a string value. I am currently getting around this limitation by making an extension on the Env file. Let's make this Env more intelligent by:
- if value is
trueorfalse, make the value a bool data type - if the value is a number, use Int, Double/Long, Float as the value.
- Dominant language
- Go
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from levibostian/dotenv
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
levibostian/dotenv#8 ·
-
Add Swift languageOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
levibostian/dotenv#6 ·
All issues in levibostian/dotenv
Similar issues
-
docs: Google Safe Browsing flags go-bonnie.dev as "deceptive" (pipe-to-shell install instructions)Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
[Bug]: Telegram bot (v3.11.0): "Ban log" no longer sends the current 3xipl-banned.logPossibly taken @HamedSanaei claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
MHSanaei/3x-ui#6990 · 1 comment ·
Maintainers usually reply within 3 days
-
bug(tool/internal/instrument): identical inject_code rules from two rule packages are applied twiceOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
open-telemetry/opentelemetry-go-compile-instrumentation#1611 ·
Maintainers usually reply within 2 days
-
L: javascript
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16744 ·
Maintainers usually reply within 1 day