From ef55bcd1bda1c43ddfd46a70a4a626d830fe38e9 Mon Sep 17 00:00:00 2001 From: nkosi23 Date: Mon, 7 Oct 2024 09:06:56 +0200 Subject: [PATCH] Changed accessibility of IQueryableMember implementation to make it easier for users to create bespoke implementations. --- src/Marten/Linq/Members/ChildCollectionMember.cs | 2 +- .../Linq/Members/ValueCollections/SelectManyValueCollection.cs | 2 +- src/Marten/Linq/Members/ValueCollections/SimpleElementMember.cs | 2 +- .../Linq/Members/ValueCollections/ValueCollectionMember.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Marten/Linq/Members/ChildCollectionMember.cs b/src/Marten/Linq/Members/ChildCollectionMember.cs index 527308763d..3fabf2eeeb 100644 --- a/src/Marten/Linq/Members/ChildCollectionMember.cs +++ b/src/Marten/Linq/Members/ChildCollectionMember.cs @@ -17,7 +17,7 @@ namespace Marten.Linq.Members; -internal class ChildCollectionMember: QueryableMember, ICollectionMember, IQueryableMemberCollection +public class ChildCollectionMember: QueryableMember, ICollectionMember, IQueryableMemberCollection { private readonly IQueryableMember _count; private readonly StoreOptions _options; diff --git a/src/Marten/Linq/Members/ValueCollections/SelectManyValueCollection.cs b/src/Marten/Linq/Members/ValueCollections/SelectManyValueCollection.cs index 48493b2241..f7c9e2b535 100644 --- a/src/Marten/Linq/Members/ValueCollections/SelectManyValueCollection.cs +++ b/src/Marten/Linq/Members/ValueCollections/SelectManyValueCollection.cs @@ -10,7 +10,7 @@ namespace Marten.Linq.Members.ValueCollections; /// This takes the place of the ValueCollectionMember when this member /// is used inside of a SelectMany() clause /// -internal class SelectManyValueCollection: IValueCollectionMember +public class SelectManyValueCollection: IValueCollectionMember { private readonly StoreOptions _options; private readonly RootMember _root; diff --git a/src/Marten/Linq/Members/ValueCollections/SimpleElementMember.cs b/src/Marten/Linq/Members/ValueCollections/SimpleElementMember.cs index 0aa7702be8..ea119a2281 100644 --- a/src/Marten/Linq/Members/ValueCollections/SimpleElementMember.cs +++ b/src/Marten/Linq/Members/ValueCollections/SimpleElementMember.cs @@ -10,7 +10,7 @@ namespace Marten.Linq.Members.ValueCollections; -internal class SimpleElementMember: IQueryableMember, IComparableMember +public class SimpleElementMember: IQueryableMember, IComparableMember { public SimpleElementMember(Type memberType, string pgType) { diff --git a/src/Marten/Linq/Members/ValueCollections/ValueCollectionMember.cs b/src/Marten/Linq/Members/ValueCollections/ValueCollectionMember.cs index 056ce1af20..30f71a7cec 100644 --- a/src/Marten/Linq/Members/ValueCollections/ValueCollectionMember.cs +++ b/src/Marten/Linq/Members/ValueCollections/ValueCollectionMember.cs @@ -18,7 +18,7 @@ namespace Marten.Linq.Members.ValueCollections; -internal class ValueCollectionMember: QueryableMember, ICollectionMember, IValueCollectionMember, ISelectableMember +public class ValueCollectionMember: QueryableMember, ICollectionMember, IValueCollectionMember, ISelectableMember { private readonly IQueryableMember _count; private readonly WholeDataMember _wholeDataMember;