-
Notifications
You must be signed in to change notification settings - Fork 756
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 AdditionalPropertiesDescription property to ObjectType #15990
base: main
Are you sure you want to change the base?
Add AdditionalPropertiesDescription property to ObjectType #15990
Conversation
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.
Copilot reviewed 5 out of 18 changed files in this pull request and generated no comments.
Files not reviewed (13)
- src/Bicep.Core/TypeSystem/Providers/MicrosoftGraph/MicrosoftGraphResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/ResourceDerivedTypeResolver.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/ThirdParty/ExtensibilityResourceTypeFactory.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/ThirdParty/ThirdPartyResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/DeclaredTypeManager.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/Az/AzResourceTypeFactory.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/Az/AzResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/K8s/K8sResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.LangServer.IntegrationTests/HoverTests.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Types/NamespaceType.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/TypeValidator.cs: Evaluated as low risk
- src/Bicep.Core.UnitTests/Utils/BuiltInTestTypes.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/TypeHelper.cs: Evaluated as low risk
Comments suppressed due to low confidence (2)
src/Bicep.Core/Emit/CompileTimeImports/ArmDeclarationToExpressionConverter.cs:385
- Ensure that the new behavior of setting
additionalPropertiesDescription
is covered by tests.
additionalPropertiesDescription: addlProperties?.Description is StringLiteralExpression stringLiteral ? stringLiteral.Value : null),
src/Bicep.Core/Semantics/SymbolHelper.cs:61
- The objectType.AdditionalPropertiesDescription might be null. Ensure that null values are handled appropriately.
return new PropertySymbol("*", objectType.AdditionalPropertiesDescription, objectType.AdditionalPropertiesType.Type);
Test this change out locally with the following install scripts (Action run 12601261348) VSCode
Azure CLI
|
Dotnet Test Results 78 files - 39 78 suites - 39 31m 47s ⏱️ - 14m 28s Results for commit 2629b5b. ± Comparison against base commit 3e1c6d7. This pull request removes 1837 and adds 632 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
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.
Copilot reviewed 6 out of 21 changed files in this pull request and generated no comments.
Files not reviewed (15)
- src/Bicep.Core/TypeSystem/Providers/MicrosoftGraph/MicrosoftGraphResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/Az/AzResourceTypeFactory.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/Az/AzResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/K8s/K8sResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/ThirdParty/ThirdPartyResourceTypeProvider.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/ArmTemplateTypeLoader.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/DeclaredTypeManager.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Providers/ThirdParty/ExtensibilityResourceTypeFactory.cs: Evaluated as low risk
- src/Bicep.LangServer.IntegrationTests/HoverTests.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/Types/NamespaceType.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/TypeValidator.cs: Evaluated as low risk
- src/Bicep.Core.UnitTests/Utils/BuiltInTestTypes.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/TypeHelper.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/TypeCollapser.cs: Evaluated as low risk
- src/Bicep.Core/TypeSystem/ResourceDerivedTypeResolver.cs: Evaluated as low risk
Resolves #13893.