Skip to content

"/" not accepted in searchRepos 's query #634

@dev590t

Description

@dev590t

Description

I can't find the repository sterglee/scalalab with searchRepos

Reproduce bug

val searchRepos = gh.repos.searchRepos("sterglee/scalalab", Nil)
val response = searchRepos.unsafeRunSync()
response.result match {
  case Left(e) => println(s"Something went wrong: ${e.getMessage}")
  case Right(r) => println(r)
}

That print:

SearchReposResult(0,false,List())

Expected

But the repository exist. And I can find it with REST API

curl   -H "Accept: application/vnd.github.v3+json"   https://api.github.com/search/repositories?q=sterglee%2Fscalalab

I have also directly search sterglee/scalalab in github. github can find the repository.

searchRepos shouldn't return a empty list.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions