-
Notifications
You must be signed in to change notification settings - Fork 258
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
AutoCompleteResource.IdStartsWith does not return packages that only have pre-release versions #7540
Comments
@ryuyu |
I'm happy to submit a PR if it turns out this needs fixing, by the way :) |
I synced up with @joelverhagen So only that needs changing. |
For reference, the v3 implementation is here: |
Should I open a PR for this, then? Happy to have a go. |
Fixed. PR NuGet/NuGet.Client#2579 |
Details about Problem
Hi.
As far as I can tell,
AutoCompleteResource.IdStartsWith
(v3 API) incorrectly passes the query parameterincludePrerelease=true
, but it should be passingprerelease=true
(according to the API docs here).NuGet product used: NuGet client library (specifically,
NuGet.Protocol.Core.Types.AutoCompleteResource
).NuGet version: NuGet.Protocol (v4.8.0.0).
Below is a small console app that reproduces the issue and demonstrates that, if the URL uses the correct
prerelease=true
query parameter, correct results are returned.Detailed repro steps so we can see the same problem
The text was updated successfully, but these errors were encountered: