Improve the forms API/guide

Aperta
#741 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
api, documentation

Direzione di ricerca

Start by reviewing the forms guide and the forms project in the examples directory, as the issue suggests checking that code samples work and adding missing use statements. Run the guide samples and example project to find problems; done means the samples work and the guide and example project are updated. The forms API redesign is an umbrella idea with no defined scope.

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

Descrizione

This is more of an umbrella issue at the moment.

I've stumbled upon this blog post which criticises the ergonomics of the forms API and the guide: https://improvingwetware.com/craftsmanship/tech/2026/11/09/cot-web-framework.html

I was thinking for a while about improving the forms API - currently it's pretty bad since it requires a bit of ifology and low-level types.

Independently of the above, I think we should go through the guide to make sure the code samples work (and perhaps add the use statements as the blog author stated). It might also be worth revisiting the forms project in the examples directory that we have, and possibly update it with the latest improvements and such.

Lingua principale
Rust
Stelle
1.1k
Fork
57
Merge medio
17h 39m
PR unite (30g)
12

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 cot-rs/cot

Tutte le issue di cot-rs/cot

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.