Skip to content

Commit

Permalink
chore(deps): update nuget dependencies (#54)
Browse files Browse the repository at this point in the history
* chore(deps): update nuget dependencies

* Implement missing interface members from version bump

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: He Qian Wang <heqian.wang@gsoft.com>
  • Loading branch information
3 people committed Feb 29, 2024
1 parent c4ec984 commit dc528ea
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Workleap.ComponentModel.DataAnnotations" Version="1.3.0" />
<PackageReference Include="Workleap.ComponentModel.DataAnnotations" Version="1.3.1" />
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MongoDB.Driver" Version="2.23.1" />
<PackageReference Include="MongoDB.Driver" Version="2.24.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net472' Or '$(TargetFramework)' == 'netstandard2.0' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
20 changes: 20 additions & 0 deletions src/Workleap.Extensions.Mongo/MongoCollectionProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,26 @@ public Task<IAsyncCursor<TField>> DistinctAsync<TField>(IClientSessionHandle ses
return this._underlyingCollection.DistinctAsync(session, field, filter, options, cancellationToken);
}

public IAsyncCursor<TItem> DistinctMany<TItem>(FieldDefinition<TDocument, IEnumerable<TItem>> field, FilterDefinition<TDocument> filter, DistinctOptions? options = null, CancellationToken cancellationToken = default)
{
return this._underlyingCollection.DistinctMany(field, filter, options, cancellationToken);
}

public IAsyncCursor<TItem> DistinctMany<TItem>(IClientSessionHandle session, FieldDefinition<TDocument, IEnumerable<TItem>> field, FilterDefinition<TDocument> filter, DistinctOptions? options = null, CancellationToken cancellationToken = default)
{
return this._underlyingCollection.DistinctMany(session, field, filter, options, cancellationToken);
}

public Task<IAsyncCursor<TItem>> DistinctManyAsync<TItem>(FieldDefinition<TDocument, IEnumerable<TItem>> field, FilterDefinition<TDocument> filter, DistinctOptions? options = null, CancellationToken cancellationToken = default)
{
return this._underlyingCollection.DistinctManyAsync(field, filter, options, cancellationToken);
}

public Task<IAsyncCursor<TItem>> DistinctManyAsync<TItem>(IClientSessionHandle session, FieldDefinition<TDocument, IEnumerable<TItem>> field, FilterDefinition<TDocument> filter, DistinctOptions? options = null, CancellationToken cancellationToken = default)
{
return this._underlyingCollection.DistinctManyAsync(session, field, filter, options, cancellationToken);
}

public long EstimatedDocumentCount(EstimatedDocumentCountOptions? options = null, CancellationToken cancellationToken = default)
{
return this._underlyingCollection.EstimatedDocumentCount(options, cancellationToken);
Expand Down

0 comments on commit dc528ea

Please sign in to comment.