GraphQL Crud: How to create a GraphQL Crud API in Java

  Рет қаралды 6,133

Dan Vega

Dan Vega

Күн бұрын

Пікірлер: 22
@isaachome7375
@isaachome7375 2 жыл бұрын
Thank you so much for all the hard work you put into the video. Truly appreciate it. Thank you again. Looking forward for GraphQl with spring security.
@DanVega
@DanVega 2 жыл бұрын
Thank you for the kind words Isaac!
@elliothuntington8980
@elliothuntington8980 Жыл бұрын
+1
@debashishbhattacharjee8188
@debashishbhattacharjee8188 Жыл бұрын
Simple and So useful. I will rate it the best GraphQL video. Thanks a ton.
@thendoronnyramashia749
@thendoronnyramashia749 Жыл бұрын
Thank you so much for this video. I was able to create my 1st ever graphql api.
@stephaneislistening6103
@stephaneislistening6103 6 ай бұрын
Merci Dan ! It was some good fun !
@adityamparikh
@adityamparikh 2 жыл бұрын
Thanks for this video Dan. I had 2 requests: Could you show how to correctly do BatchMapping and how to correctly build your own GraphQl Protocol handler other than the built in Http, WebSocket and RSocket handlers.
@DanVega
@DanVega 2 жыл бұрын
I can work on that first one for you but I have to ask... what would you need your own protocol handler for?
@adityamparikh
@adityamparikh 2 жыл бұрын
@@DanVega Thanks! We have our internal proprietary tcp based protocol. I am able to send the graphql request as a string and response back as a string. I am doing this by building a WebGraphQlRequest from the query string and passing it to the Autowired WebGraphQlHandler which of course is available only if I make my application a web application either servlet or reactive.
@Mohamed-uf5jh
@Mohamed-uf5jh 2 жыл бұрын
Great tuto , good job ! Thanks
@stephaneislistening6103
@stephaneislistening6103 6 ай бұрын
Hi Dan, again thanks for that session, it was easy to follow and I could see the requests being sent and received with the web client on my local host. As a GraphQL noob Iand as an old Spring grunt still wonder why would I expose the controllers to a GraphQL client. Why not using REST for the client calls ? What GraphQL adds that would be helpful to the client ? Why a client would want to send GraphQL requests instead of REST ones ? And in fact, can a client, that is known to send REST requests, also send GraphQL requests at all ? Thanks for the awesome effort of yours ! I shall continue in the series and hopefully start playing with AI on your sessions. Cheers, Stephane, France
@stephaneislistening6103
@stephaneislistening6103 6 ай бұрын
Hi Dan, I now see your Up and Running with Spring for GraphQL blog post. It should probably answer these questions 🙂 Thanks !
@끆끆꺄꺄-f4c
@끆끆꺄꺄-f4c Жыл бұрын
Thank you so much
@bandarumanjunath1984
@bandarumanjunath1984 2 жыл бұрын
Hi Dan - can you show a single example to do crud operation using MySQL db
@DanVega
@DanVega 2 жыл бұрын
Thank you for the suggestion. I am getting that in my backlog.
@gautamjoshi3946
@gautamjoshi3946 2 жыл бұрын
Hello @DanVega, thanks for the tutorial. A question, how can we change the output field name from id to say coffe_id without changing the member variable name in java code. What is the solution if I want to customize the output field name and do not want it to be equal to java member varaible name.
@am-oo5uu
@am-oo5uu 2 жыл бұрын
What if your input parameter of the mutation is a list of input objects? f.e. public createCoffees(ArrayList coffees){ // do something here}
@Luke_uppx
@Luke_uppx 2 жыл бұрын
nice
@marcraz6338
@marcraz6338 Жыл бұрын
Hi Dan, Im trying to create a graphQL Crud API with springboot and my problem is that i dont know how to pass an object as an argument of a mutation. I tryed to use an input object but i need de id of the object that is related with this one. type Endpoint { id: ID! name: String! doc: String! typeOP: String! nameOp: String! aplication: Aplication! } Is a ManyToOne relationship How can i create a Mutation (createEndpoint) passing only a endpoint that is supposed to be a Object getted from the frontEnd?¿
@DanVega
@DanVega Жыл бұрын
I just put together a simple example with both Scalar Types and Object Types. Can you ping me either on Twitter or through email and let me know a little bit more about what problem you're having. twitter.com/therealdanvega/status/1636430352385228805
@AleksandarT10
@AleksandarT10 2 жыл бұрын
How to pass a full request body to GraphQL?
Spring Boot GraphQL How to secure your GraphQL APIs in Java
23:43
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 99 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
HARD_MMA
Рет қаралды 3,7 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,7 МЛН
How To Call a REST API In Java - Simple Tutorial
29:14
Coding with John
Рет қаралды 284 М.
GraphQL Scalars - How to use Custom Scalars in Java
22:01
Dan Vega
Рет қаралды 4,2 М.
How to Paginate in Spring Boot with GraphQL
20:34
Dan Vega
Рет қаралды 7 М.
Nuxt Meets Java: Crafting a Seamless GraphQL API Connection
20:38
🍃 Introduction to Spring GraphQL with Spring Boot
19:14
Maciej Walkowiak 🍃 Spring Academy
Рет қаралды 62 М.
Spring Boot Testing - ** Batteries Included 🔋🔋
41:12
Dan Vega
Рет қаралды 24 М.
GraphQL vs REST: Which is Better for APIs?
7:31
IBM Technology
Рет қаралды 211 М.
GraphQL in Spring Boot: The Ultimate Guide for Beginners (2024)
34:45
Java Tech Solutions
Рет қаралды 362
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 99 МЛН