microsoft / microsoft/typespec

Implement allowing service metadata to be declared on interface

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

Description

`@service` needs to be updated to allow interfaces as a target, and the types for the various accessor methods need to widen to account for the possibility of returning an interface. This is likely to be a compiler break, but not a runtime break, for emitters.

Implementation issue for #691

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.