acm-udayton / acm-udayton/ACM-Meeting-Records

ENV boolean fields should not be strings

Aperta
#134 0 commenti 0 reazioni 2 assegnatari Rivendicata da @ethanlally Vedi su GitHub
bug devops
Lingua principale
Python
Stelle
7
Fork
2
Merge medio
4g 23h
PR unite (30g)
2

Descrizione

When reading from the .env file, all boolean values, `True`, `False` are automatically type-cast to strings by python. Initially the application was architected to just handle them as strings, but this is not ideal for future maintainability and extension of features.

This architecture should be revised so that they are truly booleans in the application logic and not string encapsulations of boolean values.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

No files or tests are named in the issue. Start by finding where the app reads `.env` values and maps them into configuration or application settings. Trace how boolean-like flags are currently consumed so you can adjust the parsing path to preserve real booleans in logic instead of string values. You’re done when config loading consistently yields typed booleans for those fields and the project’s tests/checks for env/config behavior pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
Mezza giornata
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
43/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.