-
Notifications
You must be signed in to change notification settings - Fork 34
test for @clientName
of TCGC and @encodedName
of compiler
#511
Conversation
🦋 Changeset detectedLatest commit: 55fe246 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@clientName
of TCGC and @encodedName
of compiler@clientName
of TCGC and @encodedName
of compiler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a direct copy from https://github.com/Azure/cadl-ranch/tree/main/packages/cadl-ranch-specs/http/projection/projected-name with only decorator change?
Yeah, almost |
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we should remove projectedName test cases after it's offically announced deprecated microsoft/typespec#2832
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also add test for client renaming of interface
or namespace
?
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/projection/client-encoded-name/main.tsp
Outdated
Show resolved
Hide resolved
others LGTM |
fixes #508, #509
@projectedName
so devs shall be able to add the test with few cost