Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/cjs/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties
/**
* URL of the resource
*/
url: string;
url?: string;
/**
* HTTP status code of the resource
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/esm/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties
/**
* URL of the resource
*/
url: string;
url?: string;
/**
* HTTP status code of the resource
*/
Expand Down
2 changes: 1 addition & 1 deletion schemas/rum/resource-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"resource": {
"type": "object",
"description": "Resource properties",
"required": ["type", "url"],
"required": ["type"],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since resource.url is nullable, this change will trigger some code changes for languages where nullable type is different from non-nullable.

Will it be a permanent change? Was sending empty string or maybe not sending Resource event at all considered?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's discuss internally

"properties": {
"id": {
"type": "string",
Expand Down
Loading