Skip to content

Commit 4f15780

Browse files
authored
Mitigate JS breakings for cosmosdb (#44436)
1 parent 393eaa6 commit 4f15780

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/client.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2478,7 +2478,7 @@ op sqlResourcesGetSqlRoleDefinitionCustomized(
24782478
);
24792479

24802480
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
2481-
@@Legacy.flattenProperty(MongoIndex.key, "!autorest");
2481+
@@Legacy.flattenProperty(MongoIndex.key, "!autorest,!javascript");
24822482

24832483
// Restorable* "GetResult" models declare id/name/type inline rather than
24842484
// extending CommonTypes.Resource, so the generator cannot infer them as ARM

0 commit comments

Comments
 (0)