Skip to content

.Net: Bug: function PrepareQueryParams in Common\HttpClientHelpers.cs should use PrepareQueryParamsRegex instead of ParseErrorMessageBodyRegex #78

Open

Description

@Lingchar

Describe the bug
function PrepareQueryParams in Common\HttpClientHelpers.cs should use PrepareQueryParamsRegex instead of ParseErrorMessageBodyRegex.

To Reproduce
just call ChromaClient.CountCollections

Expected behavior
@@ -168,11 +168,11 @@ or HttpStatusCode.InternalServerError
}

private static List<string> PrepareQueryParams(string input)
{

#if NETSTANDARD2_0

  •   return ParseErrorMessageBodyRegex.Matches(input)
    
  •   return PrepareQueryParamsRegex.Matches(input)
      	.Cast<Match>()
      	.Select(x => x.Value)
      	.ToList();
    

#else
return PrepareQueryParamsRegex().Matches(input)

Platform

Language: C#
IDE: Visual Studio
OS: Windows

Activity

  1. Laurianti commented on Oct 4, 2026

    @Laurianti

    Thank you, the change proposed here is in ChromaDotNet.Client (#84), and its CI also runs the tests against the .NET Standard 2.0 build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions