microsoft / microsoft/typespec

Remove the `@indexer` decorator

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

Description

Similar to the `@intrinstic` decorator it would be good to not depend on a decorator for something affecting the type graph.

Could just follow typescript syntax here
```cadl
model Record {
[key: string]: T;
}
```

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.