[Question] Is there an option to change the flow of calling validation & formatting.

Aperta
#262 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Review openapi-core's validation and formatting flow, focusing on whether formatting can precede minLength validation. Determine whether an existing option supports trimming string values before validation; the issue provides no file or test entry point, so the expected behavior needs clarification before implementation.

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

Descrizione

area/validation/request kind/question
  • Currently formatter is called after validating the field, is there any option to alter this flow.
  • use-case: - I have to trim string values before validating with minLength.
Lingua principale
Python
Stelle
368
Fork
140
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

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 python-openapi/openapi-core

Tutte le issue di python-openapi/openapi-core

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.