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

Testing reactions #349

Open
octocat opened this Issue May 25, 2017 · 44 comments

Comments

Projects
None yet
@octocat
Copy link
Owner

octocat commented May 25, 2017

Let's add some, shall we?

@shurcooL-test

This comment has been minimized.

Copy link

shurcooL-test commented May 26, 2017

Is it just me, or is removeReaction mutation not working?

Edit: This issue has been fixed. removeReaction mutation works successfully for me now.

It seems to be documented completely in parallel to addReaction:

Both have the exact same input and return fields. The only difference is in the name and description.

When I do the addReaction mutation, it works as expected:

mutation AddReactionToIssue {
  addReaction(input:{subjectId:"MDU6SXNzdWUyMzEzOTE1NTE=",content:HOORAY}) {
    reaction {
      content
    }
    subject {
      id
    }
  }
}

{
  "data": {
    "addReaction": {
      "reaction": {
        "content": "HOORAY"
      },
      "subject": {
        "id": "MDU6SXNzdWUyMzEzOTE1NTE="
      }
    }
  }
}

But doing an analogous remove mutation fails with:

mutation RemoveReactionToIssue {
  removeReaction(input:{subjectId:"MDU6SXNzdWUyMzEzOTE1NTE=",content:HOORAY}) {
    reaction {
      content
    }
    subject {
      id
    }
  }
}

{
  "data": {
    "removeReaction": null
  },
  "errors": [
    {
      "message": "Could not resolve to a node with the global id of 'MDU6SXNzdWUyMzEzOTE1NTE='",
      "type": "NOT_FOUND",
      "path": [
        "removeReaction"
      ],
      "locations": [
        {
          "line": 32,
          "column": 3
        }
      ]
    }
  ]
}

Am I supposed to provide a different subjectId for remove mutation? I've tried the id and the databaseId of the reaction node itself, still same error.

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

7 similar comments
@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek

This comment has been minimized.

Copy link

rebolek commented Jun 19, 2017

A shiny new comment! 🎉

@brianamarie

This comment has been minimized.

Copy link

brianamarie commented Jul 3, 2017

HEART

@AshoneA

This comment has been minimized.

Copy link

AshoneA commented Sep 12, 2017

hello

@etaoinshrdlcumwfgypbvkjxqz

This comment has been minimized.

Copy link

etaoinshrdlcumwfgypbvkjxqz commented Dec 3, 2017

No comment.

@maple3142

This comment has been minimized.

Copy link

maple3142 commented Jan 5, 2018

test comment from graphiql

@shujianbu

This comment has been minimized.

Copy link

shujianbu commented Jan 23, 2018

Test.

@daeheonjeon

This comment has been minimized.

Copy link

daeheonjeon commented Mar 14, 2018

test comment!

@daeheonjeon

This comment has been minimized.

Copy link

daeheonjeon commented Mar 14, 2018

Fantastic!

@cdswyda

This comment has been minimized.

Copy link

cdswyda commented Apr 11, 2018

add a comment

1 similar comment
@cdswyda

This comment has been minimized.

Copy link

cdswyda commented Apr 11, 2018

add a comment

@cdswyda

This comment has been minimized.

Copy link

cdswyda commented Apr 11, 2018

add another comment

@zuTTers

This comment has been minimized.

Copy link

zuTTers commented May 4, 2018

test comment

@Ausgezeichnet

This comment has been minimized.

Copy link

Ausgezeichnet commented May 4, 2018

@octocat Why should we react to the same words in different ways?

@Shuumatsu

This comment has been minimized.

Copy link

Shuumatsu commented May 7, 2018

test

@vkkis93

This comment has been minimized.

Copy link

vkkis93 commented May 7, 2018

it works

@Ausgezeichnet

This comment has been minimized.

Copy link

Ausgezeichnet commented May 7, 2018

@vkkis93

This comment has been minimized.

Copy link

vkkis93 commented May 11, 2018

it works

@PixeLInc

This comment has been minimized.

Copy link

PixeLInc commented May 20, 2018

owo what's this? :o

@boyney123

This comment has been minimized.

Copy link

boyney123 commented Sep 3, 2018

Testing comment

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

1 similar comment
@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

5 similar comments
@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

HOORAY

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

TEST!

5 similar comments
@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

TEST!

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

TEST!

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

TEST!

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

TEST!

@jibs239

This comment has been minimized.

Copy link

jibs239 commented Oct 5, 2018

TEST!

@davoodda60

This comment has been minimized.

Copy link

davoodda60 commented Oct 11, 2018

@mirror-riddle

This comment has been minimized.

Copy link

mirror-riddle commented Jan 4, 2019

May the force be with you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment