Emitter: encode/array query parameter serialization generates incorrect code

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
api, tooling

Research direction

Start by reproducing the generated serialization for array query parameters using comma, pipe, space, and newline delimiters, comparing it with the existing manual RequestContent workaround in the tests. Done means the emitter produces correct serialization code and the tests can use the generated API directly without that workaround.

Written by the indexing model from the issue text.

Description

CodeGen

The emitter generates incorrect serialization for array query parameters with delimiter formats (comma, pipe, space, newline). Tests had to use manual RequestContent workarounds. The emitter should generate correct serialization code so tests can use the generated API directly.

Dominant language
Rust
Stars
7
Forks
11
Avg merge
14h 15m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

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.