Skip to content

Commit 7e7fead

Browse files
committed
Update requestInformation.ts
1 parent cd45905 commit 7e7fead

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/abstractions/src/requestInformation.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Guid } from 'guid-typescript';
12
import { trace } from "@opentelemetry/api";
23
import { StdUriTemplate } from "@std-uritemplate/std-uritemplate";
34

@@ -252,6 +253,8 @@ export class RequestInformation implements RequestInformationSetContent {
252253
writer.writeTimeOnlyValue(undefined, value as any as TimeOnly);
253254
} else if (value instanceof Duration) {
254255
writer.writeDurationValue(undefined, value as any as Duration);
256+
} else if (value instanceof Guid) {
257+
writer.writeStringValue(undefined, value as any as string);
255258
} else if (valueType === "number") {
256259
writer.writeNumberValue(undefined, value as any as number);
257260
} else if (Array.isArray(value)) {

0 commit comments

Comments
 (0)