-
Notifications
You must be signed in to change notification settings - Fork 331
Remove unused program param from isArrayModelType and isRecordModelType
#9336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@typespec/compiler
@typespec/http
@typespec/http-server-csharp
@typespec/http-server-js
@typespec/openapi
@typespec/openapi3
@typespec/tspd
commit: |
|
All changed packages have been documented.
Show changes
|
e2c2b45 to
d708f88
Compare
d708f88 to
559cd74
Compare
Summary
The
isArrayModelTypeandisRecordModelTypefunctions accepted aprogramparameter that was never used. This PR removes the unused parameter to simplify the API.Additionally, this PR fixes
isRecordModelTypeto correctly returnRecordModelTypeinstead ofArrayModelType.API Migration
Packages Updated
@typespec/compiler@typespec/http@typespec/openapi3@typespec/tspd@typespec/http-server-js@typespec/http-server-csharpNote on
@typespec/http-client-javaThe
http-client-javapackage usesnpm(notpnpmworkspace) and installs@typespec/compilerfrom thenpmregistry. This means it cannot be updated to use the new function signatures until after this change is published.http-client-javacall sites will need to be updated when it is upgraded to the new compiler version.