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

Consider testing strategy for keeping commonTypes regex in sync with TSOA JSDoc @pattern decorators

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

The regex patterns live in application/common/types/commonTypes.ts, and the matching TSOA @pattern JSDoc tags sit in the various common type files that import them. Before writing code, decide whether a consistency test is worth building or whether the discussion should move to a Zod migration, which the issue asks you to scope. Done means either an agreed testing approach with a test that fails when a regex and its @pattern tag diverge, or a written scope for the Zod change.

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

Descrizione

In review comments on #937 @iamtanuj18 and @plouka13 - pointed out that it would be good to have a mechansism to ensure the regex in application/common/types/commonTypes.ts are consistent with the JSDoc TSOA @pattern decorators in the various common types.

I started writing a test to check these were consistent, but I think it deserves being thoughtful about how best to test this (or if it was worth it to spend that time scoping what a change to using Zod would require).

Lingua principale
TypeScript
Stelle
4
Fork
0
Merge medio
14h 50m
PR unite (30g)
5

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 Garvan-Data-Science-Platform/ctrl

Tutte le issue di Garvan-Data-Science-Platform/ctrl

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.