Skip to content

Commit 298975f

Browse files
authored
Fixed QueryRequestBuild handling of extensions. (#2608)
1 parent e672e62 commit 298975f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Core/Abstractions.Tests/Execution/__snapshots__/QueryRequestBuilderTests.BuildRequest_QueryAndSetExtensions_RequestIsCreated_2.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@
99
"InitialValue": null,
1010
"Properties": {},
1111
"Services": null,
12-
"Extensions": {}
12+
"Extensions": {
13+
"three": "baz"
14+
}
1315
}

src/Core/Abstractions/Execution/QueryRequestBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ private IReadOnlyDictionary<string, object> GetExtensions()
313313
{
314314
return _extensions;
315315
}
316-
return _readOnlyProperties ?? _empty;
316+
return _readOnlyExtensions ?? _empty;
317317
}
318318

319319
private void InitializeExtensions()

0 commit comments

Comments
 (0)