microsoft / microsoft/typespec

Split out driver code into separate assembly

Open
#4,222 0 comments 0 reactions 0 assignees View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Currently, the "driver" code is interspersed throughout MGC. This makes it difficult to experiment with generating code without building a custom emitter in Typespec or using complex command line args. It would be better to have a separate driver that calls into MGC through public APIs. This would allow customers to generate using only C# code without having to build a custom emitter or use complex command line args. It would also allow customers to create custom drivers to customize certain aspects of how the library is generated - for instance, the file locations of the tspCodeModel.json and the configuration.json.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.