microsoft / microsoft/typespec
Directives should be allowed inline
Open
design:needed
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Right now suppress needs to be on its own line, it would be nice to be able to target every nodes in the syntax tree. Otherwise we are unable to suppress everything
```tsp
model Foo {
name: string;
nested: #suppress("no-nullable" "We do actually need no nullable for this nested props") {
prop1: string | null;
prop2: string | null;
}
}
Contributor guide
Assessment
This issue has not been assessed yet.