Skip to content
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

BonFire does not contain Comment #128

Open
VolodymyrPavlichenko opened this issue Oct 12, 2021 · 0 comments
Open

BonFire does not contain Comment #128

VolodymyrPavlichenko opened this issue Oct 12, 2021 · 0 comments
Labels
bonfire-migration Issues linked to ZenPub to Bonfire migration

Comments

@VolodymyrPavlichenko
Copy link
Collaborator

Linked with Asses ZenPub replacement with BonFire #121

Comment We have no way to get Comment in these requests and mutations

query commentPreview($commentId: String!) {
  comment(commentId:$commentId){
    id
  ...CommentPreview
  }
}
fragment CommentPreview on Comment {
  ...CommentPreviewBase
  id
  inReplyTo { ...CommentPreviewBase }
  likerCount
  myLike{ id }
  myFlag{ id }
  thread {
    id
    comments(limit:1){
      edges{
        ...CommentPreviewBase
      }
    }
    context {
      ...on Flag {
        id
      }
      ...on Community {
        id
        ...CommunityInfo
      }
      ...on Collection {
        id
        community {
          id
          ...CommunityInfo
        }
      }
      ...on Resource {
        id
        collection {
          id
          community {
            id
            ...CommunityInfo
          }
        }
      }
    }
  }
}
@pral2a pral2a added this to the BonFire Migration milestone Oct 14, 2021
@pral2a pral2a added the bonfire-migration Issues linked to ZenPub to Bonfire migration label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bonfire-migration Issues linked to ZenPub to Bonfire migration
Projects
None yet
Development

No branches or pull requests

2 participants