Comments on: An Advanced Guide to GraphQL with Spring Boot https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/ Java, Spring, Kotlin, microservices, Kubernetes, containers Thu, 20 Jan 2022 14:11:55 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: piotr.minkowski https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/#comment-1371 Thu, 20 Jan 2022 14:11:55 +0000 http://piotrminkowski.com/?p=8220#comment-1371 In reply to Pramod M L.

But what type of cache do you want to configure for that example? Hibernate 2L cache?

]]>
By: Pramod M L https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/#comment-1360 Tue, 18 Jan 2022 10:24:55 +0000 http://piotrminkowski.com/?p=8220#comment-1360 I have to implement caching along with mutation and query, can you please guide or share git hub url please

]]>
By: piotr.minkowski https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/#comment-1003 Wed, 20 Jan 2021 10:16:41 +0000 http://piotrminkowski.com/?p=8220#comment-1003 In reply to Jose Gomez.

Oh… Thanks for the information. Fixed 🙂

]]>
By: Jose Gomez https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/#comment-985 Mon, 11 Jan 2021 13:28:44 +0000 http://piotrminkowski.com/?p=8220#comment-985 My dear friend, I have looked in github for the example of your application, because I need to build a project with these advanced topics that you so kindly shared with us, but, on that page it appears that the repository is not available (ERROR 404: PAGE NOT FOUND).
THANKS A LOT

]]>
By: Thomas https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/#comment-897 Tue, 04 Aug 2020 15:41:32 +0000 http://piotrminkowski.com/?p=8220#comment-897 You should use Data-Loaders to fix the N+1 queries, you don’t need to do it manually by hand:
https://github.com/graphql/dataloader

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/#comment-898 Tue, 04 Aug 2020 14:03:03 +0000 http://piotrminkowski.com/?p=8220#comment-898 In reply to Thomas.

Data loaders are just solving n+1 problem by preparing query to retrieve all the entities in one type and caching them. I would like to have a single query, no matter how many relationships do I have. As I mentioned in my article there some different ways to achieve it. One of them is Data-Fetcher, no Data-Loader. I choose another solution, however each of them requires some additional code. Data-Loader also requires some implementation depending on your data structure. Correct me if I’m wrong

]]>