-
Notifications
You must be signed in to change notification settings - Fork 75
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
Binder models tcgc #2759
base: main
Are you sure you want to change the base?
Binder models tcgc #2759
Conversation
packages/typespec-ts/src/index.ts
Outdated
@@ -248,8 +249,8 @@ export async function $onEmit(context: EmitContext) { | |||
|
|||
const isMultiClients = modularCodeModel.clients.length > 1; | |||
|
|||
emitTypes(dpgContext.sdkPackage, { sourceRoot: modularSourcesRoot }); |
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.
feel like this change is moving the models outside of the subclients folder already? #2556 should I still wait for this pr to be merged ?
import { NetworkAnalyticsContext as Client } from "../index.js"; | ||
import { | ||
StreamableMethod, | ||
operationOptionsToRequestParameters, | ||
PathUncheckedResponse, | ||
createRestError, | ||
} from "@azure-rest/core-client"; | ||
import { | ||
_DataProductListResult, |
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.
need to check why we didn't remove those unused imports?
...es/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/models/models.ts
Outdated
Show resolved
Hide resolved
...es/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/models/models.ts
Outdated
Show resolved
Hide resolved
...es/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/models/models.ts
Outdated
Show resolved
Hide resolved
...es/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/models/models.ts
Outdated
Show resolved
Hide resolved
...es/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/models/models.ts
Outdated
Show resolved
Hide resolved
...es/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/models/models.ts
Outdated
Show resolved
Hide resolved
...es/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/models/models.ts
Outdated
Show resolved
Hide resolved
...s/typespec-test/test/anomalyDetector/generated/typespec-ts/review/ai-anomaly-detector.api.md
Outdated
Show resolved
Hide resolved
...st/test/NetworkAnalytics.Management/generated/typespec-ts/review/arm-networkanalytics.api.md
Show resolved
Hide resolved
...st/test/NetworkAnalytics.Management/generated/typespec-ts/review/arm-networkanalytics.api.md
Outdated
Show resolved
Hide resolved
...st/test/NetworkAnalytics.Management/generated/typespec-ts/review/arm-networkanalytics.api.md
Outdated
Show resolved
Hide resolved
AccountSas, | ||
AccountSasToken, | ||
KeyVaultInfo, | ||
RoleAssignmentCommonProperties, | ||
RoleAssignmentDetail, | ||
ListRoleAssignments, | ||
_DataProductListResult, | ||
_DataTypeListResult, | ||
_DataProductsCatalogListResult, | ||
_OperationListResult, |
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.
still need to investigate why this is imported however not being used.
...st/test/NetworkAnalytics.Management/generated/typespec-ts/review/arm-networkanalytics.api.md
Outdated
Show resolved
Hide resolved
packages/typespec-test/test/eventgrid_modular/generated/typespec-ts/src/api/eventGridContext.ts
Show resolved
Hide resolved
@@ -5,6 +5,7 @@ | |||
```ts | |||
|
|||
import { ClientOptions } from '@azure-rest/core-client'; | |||
import { ErrorModel } from '@azure-rest/core-client'; |
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.
should also import ErrorModel from binder
...pespec-test/test/contentsafety_modular/generated/typespec-ts/src/api/contentSafetyContext.ts
Outdated
Show resolved
Hide resolved
...pespec-test/test/contentsafety_modular/generated/typespec-ts/review/ai-content-safety.api.md
Outdated
Show resolved
Hide resolved
...ec-test/test/NetworkAnalytics.Management/generated/typespec-ts/src/api/dataProducts/index.ts
Outdated
Show resolved
Hide resolved
92c5a25
to
1d0e542
Compare
No description provided.