Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
query GetBlogPost($postId: ID!) {
blogPostById(id: $postId) {
author {
firstName
lastName
avatarUrl
shortBio
}
title
coverImgUrl
createdAt
tags {
slug
shortName
}
body
likedByMe
likedBy(first: 2) {
totalCount
edges {
node {
firstName
lastName
avatarUrl
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment