Azure / Azure/azure-sdk-tools

Update the azure template to output ‘emitter-output-dir’ in the tspconfig.yaml

Open
#10,993 0 comments 0 reactions 0 assignees View on GitHub
Automation Tool
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

To support the new C# emitter in spec pull requests, we began reviewing the current usage of tsp-client commands and the package-dir option in tspconfig.yaml.
After considering several options and discussing the trade-offs, we've aligned on replacing `package-dir` with `emitter-output-dir` that aims to simplify tspconfig.yaml and ensure consistency between tsp-client and tsp-compile.

We will need to update the template to output the 'emitter-output-dir' in the generated tspconfig.yaml.

Contributor guide

Open the contributing guide

Research direction

Find the template that generates tspconfig.yaml and inspect how it currently emits package-dir. Compare the generated configuration with the tsp-client and tsp-compile usage described in the issue; done means the template outputs emitter-output-dir instead and the generated YAML is valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.