Skip to content

Commit 24f1cf7

Browse files
committed
Hide some classes not part of public api
1 parent 110bc94 commit 24f1cf7

18 files changed

+21
-171
lines changed

src/Weaviate.Client/PublicAPI.Shipped.txt

Lines changed: 0 additions & 150 deletions
Large diffs are not rendered by default.

src/Weaviate.Client/Rest/Errors.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Weaviate.Client.Rest;
44

5-
public class WeaviateRestClientException : WeaviateClientException
5+
internal class WeaviateRestClientException : WeaviateClientException
66
{
77
private const string DefaultMessage =
88
"An error occurred processing the response from the Weaviate REST API.";
@@ -22,7 +22,7 @@ public WeaviateRestClientException(string message, Exception innerException)
2222
) { }
2323
}
2424

25-
public class WeaviateRestServerException : WeaviateServerException
25+
internal class WeaviateRestServerException : WeaviateServerException
2626
{
2727
private const string DefaultMessage =
2828
"An error occurred in the server while processing the request.";
@@ -49,7 +49,7 @@ public override string ToString()
4949
/// <summary>
5050
/// Exception thrown for invalid enum wire-format values.
5151
/// </summary>
52-
public class InvalidEnumWireFormatException : WeaviateClientException
52+
internal class InvalidEnumWireFormatException : WeaviateClientException
5353
{
5454
public InvalidEnumWireFormatException(string message)
5555
: base(message) { }

src/Weaviate.Client/Rest/Http.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Weaviate.Client.Rest;
55

6-
public static class HttpResponseMessageExtensions
6+
internal static class HttpResponseMessageExtensions
77
{
88
private static async Task<HttpStatusCode> EnsureExpectedStatusCodeAsync(
99
this HttpResponseMessage response,

src/Weaviate.Client/Rest/SerializationHelpers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace Weaviate.Client.Rest;
77

8-
public class EnumMemberJsonConverter<T> : JsonConverter<T>
8+
internal class EnumMemberJsonConverter<T> : JsonConverter<T>
99
where T : struct, Enum
1010
{
1111
private readonly Dictionary<T, string> _enumToString = new();
@@ -55,7 +55,7 @@ public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions
5555
}
5656
}
5757

58-
public class EnumMemberJsonConverterFactory : JsonConverterFactory
58+
internal class EnumMemberJsonConverterFactory : JsonConverterFactory
5959
{
6060
public override bool CanConvert(Type typeToConvert)
6161
{

src/Weaviate.Client/Serialization/Converters/BlobPropertyConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Weaviate.Client.Serialization.Converters;
66
/// Converter for Weaviate "blob" data type (no array variant).
77
/// Stores binary data as Base64 strings.
88
/// </summary>
9-
public class BlobPropertyConverter : PropertyConverterBase
9+
internal class BlobPropertyConverter : PropertyConverterBase
1010
{
1111
public override string DataType => "blob";
1212
public override bool SupportsArray => false;

src/Weaviate.Client/Serialization/Converters/BoolPropertyConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Weaviate.Client.Serialization.Converters;
55
/// <summary>
66
/// Converter for Weaviate "boolean" and "boolean[]" data types.
77
/// </summary>
8-
public class BoolPropertyConverter : PropertyConverterBase
8+
internal class BoolPropertyConverter : PropertyConverterBase
99
{
1010
public override string DataType => "boolean";
1111

src/Weaviate.Client/Serialization/Converters/DatePropertyConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Weaviate.Client.Serialization.Converters;
77
/// Converter for Weaviate "date" and "date[]" data types.
88
/// Uses ISO 8601 format for REST serialization.
99
/// </summary>
10-
public class DatePropertyConverter : PropertyConverterBase
10+
internal class DatePropertyConverter : PropertyConverterBase
1111
{
1212
public override string DataType => "date";
1313

src/Weaviate.Client/Serialization/Converters/GeoPropertyConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Weaviate.Client.Serialization.Converters;
66
/// <summary>
77
/// Converter for Weaviate "geoCoordinates" data type (no array variant).
88
/// </summary>
9-
public class GeoPropertyConverter : PropertyConverterBase
9+
internal class GeoPropertyConverter : PropertyConverterBase
1010
{
1111
public override string DataType => "geoCoordinates";
1212
public override bool SupportsArray => false;

src/Weaviate.Client/Serialization/Converters/IntPropertyConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Weaviate.Client.Serialization.Converters;
66
/// Converter for Weaviate "int" and "int[]" data types.
77
/// Maps to C# int, long, short, byte (and nullable variants).
88
/// </summary>
9-
public class IntPropertyConverter : PropertyConverterBase
9+
internal class IntPropertyConverter : PropertyConverterBase
1010
{
1111
public override string DataType => "int";
1212

src/Weaviate.Client/Serialization/Converters/NumberPropertyConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Weaviate.Client.Serialization.Converters;
66
/// Converter for Weaviate "number" and "number[]" data types.
77
/// Maps to C# double, float, decimal (and nullable variants).
88
/// </summary>
9-
public class NumberPropertyConverter : PropertyConverterBase
9+
internal class NumberPropertyConverter : PropertyConverterBase
1010
{
1111
public override string DataType => "number";
1212

0 commit comments

Comments
 (0)