Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Implement 'fragment' style

Open
#475 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
tooling

Research direction

First check the linked TypeSpec issue and Spector team work for the promised “fragment” style tests, especially the expected behavior when explode=true. Then locate the existing path that throws for fragment styles and use those tests to define completion: fragment output is supported and the relevant test suite passes.

Written by the indexing model from the issue text.

Description

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

Dominant language
Rust
Stars
8
Forks
11
Avg merge
16h 4m
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/typespec-rust

All issues in Azure/typespec-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.