[BUG](validation) A model-rooted RootModel entry point joins the undiscriminated arm of the validation union

Aperta
#868 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by locating the validation union builder and tracing how it classifies discriminated and undiscriminated entry points. Compare how a bare model and a RootModel over that model are handled, then find or add a focused validation test for the two cases. Done means the RootModel validates the same way as the bare model.

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

Descrizione

The validation union builder puts an entry point that is not a discriminated union in the undiscriminated arm. A RootModel over a model is that model, and should validate the way the bare model does.

Lingua principale
Python
Stelle
219
Fork
20
Merge medio
1g 21h
PR unite (30g)
37

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 OvertureMaps/schema

Tutte le issue di OvertureMaps/schema

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.