Draft: Search fork targets by full path
What does this MR do and why?
Currently, the namespaces are searched by the path which doesn't work correctly in the case when a subgroup is searched by its full path name.
Example: https://gitlab.com/-/graphql-explorer
The following query returns empty results:
query {
project(fullPath: "gitlab-org/gitlab") {
id
forkTargets(search: "gitlab-org/gitaly-planning") {
nodes {
id
fullPath
name
visibility
}
}
}
}
Works as expected:
query {
project(fullPath: "gitlab-org/gitlab") {
id
forkTargets(search: "gitaly-planning") {
nodes {
id
fullPath
name
visibility
}
}
}
}
Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/378243
Edited by Igor Drozdov