Closed knjk04 closed 3 years ago
Hi @knjk04,
Can I do this ?
Hi @kev711, sure. Thanks again!
I see there are a few query type specs created in resources\schema
. Do we need to create data fetchers on basis of query type or Repository methods in Entity Repositories ?
The repository methods, please
I tried generating data fetchers using code generation (generateJava
task). It seems to generate only boilerplate code with dummy methods. Rest has to be done manually.
Also, I see all but one method defined in com.karankumar.booksapi.datafetchers.BookDataFetcher
. So I'm not sure what needs to be done here...
Things like constants and the query builder for testing. See this video
@kev711 How are you getting on with this?
@knjk04 , I'm running a bit busy so I'll un assign myself from this one.
@kev711 OK, thanks for letting us know
Add the DGS code generation build plugin and use the code generation in the data fetchers
https://netflix.github.io/dgs/generating-code-from-schema/