We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd45905 commit 7e7feadCopy full SHA for 7e7fead
packages/abstractions/src/requestInformation.ts
@@ -1,3 +1,4 @@
1
+import { Guid } from 'guid-typescript';
2
import { trace } from "@opentelemetry/api";
3
import { StdUriTemplate } from "@std-uritemplate/std-uritemplate";
4
@@ -252,6 +253,8 @@ export class RequestInformation implements RequestInformationSetContent {
252
253
writer.writeTimeOnlyValue(undefined, value as any as TimeOnly);
254
} else if (value instanceof Duration) {
255
writer.writeDurationValue(undefined, value as any as Duration);
256
+ } else if (value instanceof Guid) {
257
+ writer.writeStringValue(undefined, value as any as string);
258
} else if (valueType === "number") {
259
writer.writeNumberValue(undefined, value as any as number);
260
} else if (Array.isArray(value)) {
0 commit comments