@typespec/rest
Advanced tools
Comparing version 0.45.0-dev.2 to 0.45.0-dev.3
@@ -73,3 +73,3 @@ import { $visibility, getKeyName, isErrorType, isKey, validateDecoratorTarget, } from "@typespec/compiler"; | ||
decorator: $resourceTypeForKeyParam, | ||
args: [{ node: target.node, value: resourceType }], | ||
args: [{ node: target.node, value: resourceType, jsValue: resourceType }], | ||
}, | ||
@@ -76,0 +76,0 @@ ]; |
@@ -201,3 +201,5 @@ import { $list, createDiagnosticCollector, setTypeSpecNamespace, } from "@typespec/compiler"; | ||
decorator: $segment, | ||
args: [{ value: context.program.checker.createLiteralType(collectionName) }], | ||
args: [ | ||
{ value: context.program.checker.createLiteralType(collectionName), jsValue: collectionName }, | ||
], | ||
}); | ||
@@ -204,0 +206,0 @@ } |
{ | ||
"name": "@typespec/rest", | ||
"version": "0.45.0-dev.2", | ||
"version": "0.45.0-dev.3", | ||
"author": "Microsoft Corporation", | ||
@@ -5,0 +5,0 @@ "description": "TypeSpec REST protocol binding", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108452
914