airavata-courses / NetBoox

Team NetBoox Repo
0 stars 3 forks source link

Not able to run the queries in GraphiQL #58

Closed ljosyula closed 6 years ago

ljosyula commented 6 years ago

The first two queries are showing error and we are not able to run the third one.

Please find below screenshot for the same:

2 3

I was not sure if we have to run all the queries in one go or separately so I tried running them in one go as well but I was not able to run it.

4

sagarpanchal8793 commented 6 years ago

Hello Soumya,

Thank you so much for providing us the appropriate screenshots, actually we updated the requirements and made some changes in the code but forgot to update the documents. So now the documentation is updated and tested.

For the third query, we cannot, execute all of them at once, all those are individual queries. I have updated the same in the documentation as well.

If possible kindly test again.

ljosyula commented 6 years ago

Hello Sagar,

Appreciate your quick response. But, there still seems to be some issue with the first two queries. Please find below the screenshots for the same:

1 1

1 2

The last two queries are working fine.

Thank you

harshallpandit commented 6 years ago

You're trying to insert into the database but the key is already present and thus the duplicate key error. Try to insert your details and then try to update it.

ljosyula commented 6 years ago

The queries are working fine.

It would be really helpful if you could add some instructions on the wiki page.

Closing the issue. Thank you