Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

discuss driver list serialization options

Aperta
#77 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

The issue compares two TOML serializations for the driver list but names no implementation files or tests. Start by locating where driver configuration is serialized and check whether the second representation is supported without custom serialization code. Done means the project has a decided representation and its feasibility is established; the issue has had no comments for over a year.

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

Descrizione

question

Do we want to serialize the driver list like this (current behavior):

[drivers]
[drivers.mysql]

[drivers.postgresql]
version = '^1.x.x'

[drivers.sqlite]
version = '^1'

or this?

[drivers]
mysql = {}
postgresql = { version = '^1.x.x' }
sqlite = { version = '^1' }

I think it's reasonable to expect a user will manually edit this file so we might consider the usability of our serialization. I find the second example more understandable but that may be because I'm used to Cargo.toml. Is it possible to serialize that way without custom ser/de routines?

Lingua principale
Go
Stelle
154
Fork
15
Merge medio
1g 2h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di columnar-tech/dbc

Tutte le issue di columnar-tech/dbc

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.