Great video! It was very informative and straight to the point. I have a project at work starting next week using GraphQL with spring boot, so your video came at the perfect time! Keep up the awesome content.
If you remove some fields from the graphQL query @9:12, do you still execute the full flown SQL select statement in the database? In case yes, you are effectively just saving a few bytes over Http, but the database query and the object saved in memory are still the same. Would be nice if graphQL library would be capable of transforming a given graphQL query into a proper SQL statement.
it also would be really important to mention how you would achieve to solve the over and underfetching problem which means that you only query the data you select in the query like in your example just isbn and author and that the other columns are ignored in the resulting sql statement
As I’m watching this I’m asking myself is there anything that generates graphql schema from existing model definitions? Why are you using Iterable and not List as your return type ? Why can’t you rely on spring boot data.sql and schema.sql to get the db setup?
Great video! I'm glad to see another talented software developer sharing his knowledge!
Great video! It was very informative and straight to the point. I have a project at work starting next week using GraphQL with spring boot, so your video came at the perfect time! Keep up the awesome content.
If you remove some fields from the graphQL query @9:12, do you still execute the full flown SQL select statement in the database? In case yes, you are effectively just saving a few bytes over Http, but the database query and the object saved in memory are still the same.
Would be nice if graphQL library would be capable of transforming a given graphQL query into a proper SQL statement.
Awesome content!
it also would be really important to mention how you would achieve to solve the over and underfetching problem
which means that you only query the data you select in the query like in your example just isbn and author and that the other columns are ignored in the resulting sql statement
i wish i can give you 1000 likes at a time
great content
As I’m watching this I’m asking myself is there anything that generates graphql schema from existing model definitions? Why are you using Iterable and not List as your return type ? Why can’t you rely on spring boot data.sql and schema.sql to get the db setup?