microsoft / microsoft/typespec

Expose config loading helpers

Open
#2,528 0 comments 0 reactions 0 assignees View on GitHub
triaged:core
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

`loadTypeSpecConfig` is not accessible from the compiler.

This should really only be useful if a tool wants to do additional validation on the config. A user that wants to call the compiler programtically can already call `resolveCompilerOptions()` and this will resolve the compiler options using the config. But we hide the internal of hte config resolution.

We should probably scope that under another export than the root one like `@typespec/compiler/tsp-config`

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.