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

Testing reactions #349

Open
octocat opened this issue May 25, 2017 · 116 comments
Open

Testing reactions #349

octocat opened this issue May 25, 2017 · 116 comments

Comments

@octocat
Copy link
Owner

octocat commented May 25, 2017

Let's add some, shall we?

@dmitshur-test
Copy link

dmitshur-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
Copy link

rebolek commented Jun 19, 2017

testing comment

7 similar comments
@rebolek
Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek
Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek
Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek
Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek
Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek
Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek
Copy link

rebolek commented Jun 19, 2017

testing comment

@rebolek
Copy link

rebolek commented Jun 19, 2017

A shiny new comment! 🎉

@brianamarie
Copy link

HEART

@AshoneA
Copy link

AshoneA commented Sep 12, 2017

hello

@polyipseity
Copy link

No comment.

@maple3142
Copy link

test comment from graphiql

@shujianbu
Copy link

Test.

@daeheonjeon
Copy link

test comment!

@daeheonjeon
Copy link

Fantastic!

@magicds
Copy link

magicds commented Apr 11, 2018

add a comment

1 similar comment
@magicds
Copy link

magicds commented Apr 11, 2018

add a comment

@magicds
Copy link

magicds commented Apr 11, 2018

add another comment

@zuTTers
Copy link

zuTTers commented May 4, 2018

test comment

@Ausgezeichnet
Copy link

Ausgezeichnet commented May 4, 2018

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

@Shuumatsu
Copy link

test

@vkkis93
Copy link

vkkis93 commented May 7, 2018

it works

@Ausgezeichnet
Copy link

@octocat

@vkkis93
Copy link

vkkis93 commented May 11, 2018

it works

@PixeLInc
Copy link

owo what's this? :o

@boyney123
Copy link

Testing comment

@jibs239
Copy link

jibs239 commented Oct 5, 2018

HOORAY

1 similar comment
@jibs239
Copy link

jibs239 commented Oct 5, 2018

HOORAY

@hientx-seta
Copy link

Hello, World! This test comment was created on Fri Sep 24 22:54:10 GMT+02:00 2021. Have a nice day.

@BoD
Copy link

BoD commented Oct 31, 2021

Hello, World! This test comment was created on Sun Oct 31 22:34:29 GMT+01:00 2021. Have a nice day.

@DidahDx
Copy link

DidahDx commented Nov 5, 2021

Hello, World! This test comment was created on Fri Nov 05 12:09:50 GMT+03:00 2021. Have a nice day.

@legit-007
Copy link

legit-007 commented Nov 27, 2021 via email

@naveenreddyp-1249
Copy link

test comment unique

@emreyilmaz
Copy link

emreyilmaz commented Feb 2, 2022

updated testing comment

@peterjuma
Copy link

Testing comment

@elpoll
Copy link

elpoll commented Mar 16, 2022

Hello, World! This test comment was created on Sat Nov 27 21:19:59 GMT+01:00 2021. Have a nice day.

Hey

@Lelikboss
Copy link

test comment

@Lelikboss
Copy link

and once again

@Lelikboss
Copy link

and last test comment

@BsergoB
Copy link

BsergoB commented May 6, 2022

Hello friends

@ShantKevorkian
Copy link

TTEST

1 similar comment
@ShantKevorkian
Copy link

TTEST

@Lokuslick
Copy link

Hello, World! This test comment was created on Fri Sep 16 18:03:55 GMT+05:30 2022. Have a nice day.

@Galyassandor1973
Copy link

R

@warrenbuckley
Copy link

Can I do markup here?

@warrenbuckley
Copy link

Can I do markup here? ##Yes I can

@BoD
Copy link

BoD commented Nov 3, 2022

Hello, World! This test comment was created on Thu Nov 03 10:39:18 GMT+01:00 2022. Have a nice day.

@suyog-google
Copy link

Hello, World! This test comment was created on Thu Nov 17 15:19:00 PST 2022. Have a nice day.

@suyog-google
Copy link

Hello, World! This test comment was created on Thu Nov 17 15:56:31 PST 2022. Have a nice day.

@suyog-google
Copy link

Hello, World! This test comment was created on Thu Nov 17 15:58:22 PST 2022. Have a nice day.

@suyog-google
Copy link

Hello, World! This test comment was created on Thu Nov 17 18:21:02 PST 2022. Have a nice day.

@BoD
Copy link

BoD commented Mar 17, 2023

Hello, World! This test comment was created on Fri Mar 17 20:08:29 GMT+01:00 2023. Have a nice day.

@ZowieTao
Copy link

tada

@Peter-developer01
Copy link

GitHub is the best provider of GitHub

@Peter-developer01
Copy link

You need to understand my last comment first to understand my last comment!

@ndesai-newrelic
Copy link

Hello, World! This test comment was created on Thu Aug 10 08:38:26 CDT 2023. Have a nice day.

@JovandySaputro
Copy link

Hello, World! This test comment was created on Tue Nov 14 12:48:39 GMT+07:00 2023. Have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests