Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Update Hl7.Fhir.R4 to v5.10.3 and MongoDB.Driver 2.28.0 -> 2.29.0 #788

Merged
merged 2 commits into from
Sep 27, 2024
Merged
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 src/Spark.Engine/Spark.Engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<ItemGroup>
<PackageReference Include="Fhir.Metrics" Version="1.3.0" />
<PackageReference Include="Hl7.Fhir.R4" Version="5.9.1" />
<PackageReference Include="Hl7.Fhir.R4" Version="5.10.3" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="8.0.1" />
Expand Down
5 changes: 3 additions & 2 deletions src/Spark.Mongo.Tests/Search/CriteriumQueryBuilderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using Hl7.Fhir.Utility;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
using Spark.Search;
using Spark.Search.Mongo;
using System.Linq;
Expand Down Expand Up @@ -113,8 +114,8 @@ private string BuildAndReturnQueryFilterAsJsonString(ResourceType resourceType,
criterium.SearchParameters.AddRange(ModelInfo.SearchParameters.Where(p => p.Resource == resourceTypeAsString && p.Name == searchParameter));

var filter = criterium.ToFilter(resourceType.GetLiteral());
var jsonFilter = filter?.Render(null, bsonSerializerRegistry)?.ToJson();
var jsonFilter = filter.Render(new RenderArgs<BsonDocument>(bsonSerializerRegistry.GetSerializer<BsonDocument>(), bsonSerializerRegistry)).ToJson();

return jsonFilter;
}
}
}
4 changes: 2 additions & 2 deletions src/Spark.Mongo/Spark.Mongo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Hl7.Fhir.R4" Version="5.10.1" />
<PackageReference Include="MongoDB.Driver" Version="2.28.0" />
<PackageReference Include="Hl7.Fhir.R4" Version="5.10.3" />
<PackageReference Include="MongoDB.Driver" Version="2.29.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading