Skip to content
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

Add type info for additional properties in model type #18

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

tadelesh
Copy link
Member

Fix #17

@azure-sdk
Copy link
Collaborator

@@ -197,7 +197,7 @@ export interface SdkModelType extends SdkTypeBase {
details?: string;
access: AccessFlags | undefined;
usage: UsageFlags;
additionalProperties: boolean;
additionalProperties: SdkType | undefined;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs define this as additionalProperties?: SdkType; which is slightly different, but I assume is identical?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is identical. tsp does not have undefined.

@tadelesh
Copy link
Member Author

@iscai-msft could you help to review?

@iscai-msft iscai-msft enabled auto-merge (squash) December 14, 2023 22:09
@iscai-msft iscai-msft merged commit 92766df into main Dec 14, 2023
@iscai-msft iscai-msft deleted the additional_properties branch December 14, 2023 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TCGC types should support types for additional properties
4 participants