-
Notifications
You must be signed in to change notification settings - Fork 4
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
hover link to show siblinks #9
Comments
Closed
Querying ksp for siblinks currently looks as follows: query Siblinks {
resource(url: "https://www.inkandswitch.com/local-first.html") {
url
sibLinks: links {
...sibLink
}
}
}
fragment sibLink on Link {
target {
url
backLinks {
...backLink
}
tags {
...tag
}
}
}
fragment tag on Tag {
name
}
fragment backLink on Link {
kind
identifier
name
title
fragment
location
referrer {
url
info {
title
description
cid
}
tags {
...tag
}
}
} There are multiple problems with this:
I don't want to spend time on optimizing this right now, but think we should expose another query endpoint to have something like: query {
siblinks(url: "https://www.inkandswitch.com/local-first.html") {
...sibLink
}
} Which in the KSP can accomplish this with single SQL query and exclude links for the passed url itself. |
Fixed by #18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: