Azure / Azure/typespec-azure

[TCGC] Complicated scenario for bump client parameter

Open
#3,593 0 comments 0 reactions 0 assignees View on GitHub
lib:tcgc
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 22h
Merged PRs (30d)
156

Description

For moving method parameter into client level, currently, we could support to redefine the client initialization option model. But from the TCGC logic, it looks like we could only move a first level parameter into the option to also be a first level parameter. There could exist more complicated cases that we need to investigate.

It could impact `@override`, `@clientInitialization`, method parameter mapping, etc.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the TCGC logic for moving a method parameter into the client initialization option model. Investigate the stated interactions with @override, @clientInitialization, and method parameter mapping, then define which complicated cases should be supported and how completion will be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.