-
Notifications
You must be signed in to change notification settings - Fork 13
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
Exception when search text query is empty #64
Comments
As i can see there is also no implementation for utilizing https://trakt.docs.apiary.io/#introduction/filters/movie-filters and https://trakt.docs.apiary.io/#introduction/filters/show-filters |
In this issue, only the empty string bug will be fixed. |
if this issue is done, would you mind releasing a new package to nuget ? |
Resolved with commit 2ded58e @TheUltimateC0der I won't release a new package until all 1.0.0-beta release issues are resolved. Alternatively, you can add the MyGet-NuGet feed https://www.myget.org/F/trakt-net/api/v3/index.json to always get the latest CI/CD packages (just look for preview packages - preferably with the highest build number). |
The implementation of the API allows the
query
parameter to be an empty string. However you implemented a check for ifquery
isstring.empty
and throw an exception if assertion is true.Trakt.NET/Source/Lib/Trakt.NET/Requests/Search/SearchTextQueryRequest.cs
Line 51 in 87efcb7
Reference: https://trakt.docs.apiary.io/#reference/search/text-query/get-text-query-results
The text was updated successfully, but these errors were encountered: