Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#984 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).

主要言語
TypeScript
スター
4
フォーク
0
平均マージ
14時間 50分
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Garvan-Data-Science-Platform/ctrl のほかの issue

Garvan-Data-Science-Platform/ctrl の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。