query:
{
repositoryOwner(login: "_dnxv__") {
... on ProfileOwner {
pinnedItemsRemaining
itemShowcase {
hasPinnedItems
}
}
}
}
result:
{
"data": {
"repositoryOwner": null
}
}
but the variable query in golang is a struct, so how to check if it's null? any workaround or tricks?