My question is when I generate kotlin codes from my schema, there are many projection classes ~~~Projection for each type but has no classes named like ~~~ProjectionRoot.
But when I read the document, some example mentions MoviesProjectionRoot class. Is the class auto-generated one? If yes, then why my auto-generated codes has not that kind of class??
I'm watching this document.
And I've developed with kotlin project.
I'm generating codes using
com.netflix.dgs.codegen
plugin in gradle with 5.12.4.And my code gen config is as follows:
My question is when I generate kotlin codes from my schema, there are many projection classes
~~~Projection
for each type but has no classes named like~~~ProjectionRoot
.But when I read the document, some example mentions
MoviesProjectionRoot
class. Is the class auto-generated one? If yes, then why my auto-generated codes has not that kind of class??