microsoft / microsoft/typespec

Feature proposal: Selector language

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

Description

We have quite a few use cases where there is a need to select a set of types based on some criteria. A simple example of this is the `@@` augment syntax in #218 (which in the current proposal only supports selecting by identity). Other examples include type constraints, emitters and validators.

There may be benefit of providing a common way to express such selectors. I believe @bterlson may have additional use cases up his sleeve.

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.