GraphQL Spring Boot #8 - Executing a Query.

preview_player
Показать описание
Welcome to Microservices Lab. In this lecture, we will execute our first GraphQL query.

The points covered in this lecture are:-
1. Inserting data into the table.
2. Executing GraphQL query.

Please Like, Comment, Share & Subscribe to this Channel.
Your support will boost our morale.

Links Section:-

Website:-

Facebook Page:-

Facebook Group:-

Github Repository:-
Commit - 9ac655e505abafeb5a61bbb178fdfd3e11241da2

#GraphQLQuery
#SpringBoot
#Java
#Tutorial
Рекомендации по теме
Комментарии
Автор

Hi Boss, i am getting the below error after hitting the url in altier. I am using java 8. Any idea you have..?

graphql.AssertException: query can't be null
at ~[graphql-java-15.0.jar:na]
Suppressed:
Error has been observed at the following site(s):
|_ checkpoint ⇢ HTTP POST "/graph"
Stack trace:
at ~[graphql-java-15.0.jar:na]

raghuvardhansaripalli
Автор

I am getting the DatabaseClient class as deprecated when I am trying to run my server

pushkarchoupane
Автор

hi, i am using java 8. Hope this is fine i think and getting the below error:

graphql.AssertException: query can't be null
at ~[graphql-java-15.0.jar:na]
Suppressed:
Error has been observed at the following site(s):
|_ checkpoint ⇢ HTTP POST "/graph"
Stack trace:
at ~[graphql-java-15.0.jar:na]

raghuvardhansaripalli
Автор

Thanks for this wonderful tutorial. is it possible to customize the graphql response format like following ?
{
"data":{},
"info": {},
"audit": {},
"error": {}
}

sumanthvarada
join shbcf.ru