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

Implement 'fragment' style

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

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

評価

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

調査の方向性

まず、リンクされている TypeSpec issue と、約束されている「fragment」スタイルのテストに関する Spector チームの作業を確認します。特に explode=true の場合に期待される動作を確認してください。次に、fragment スタイルで例外をスローする既存のパスを見つけ、それらのテストを完了条件の定義に使用します。fragment 出力がサポートされ、関連するテストスイートがパスすることが完了条件です。

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

説明

CodeGen

In https://github.com/microsoft/typespec/issues/7688, I asked the Typespec team:

"A question on https://github.com/microsoft/typespec/tree/main/packages/http-specs/specs/routes :
I don't see any tests for 'fragment' style ('#' delimiter?). If that style is not deprecated, could they get added? Not sure how to implement this, specifically what is expected when explode=true. A test would clarify that. Currently, we have to throw if we see 'fragment' because we aren't sure if the code we'd emit is correct, and we'd prefer not to add such code that is not covered by tests."

So, when/if Spector team adds test for 'fragment', add support for it.

From https://github.com/Azure/typespec-rust/issues/471#issuecomment-2989160884
See also https://github.com/Azure/typespec-rust/pull/394#discussion_r2153363420

主要言語
Rust
スター
8
フォーク
11
平均マージ
17時間 26分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

Azure/typespec-rust のほかの issue

Azure/typespec-rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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