generateFragmentImplementations

abstract val generateFragmentImplementations: Property<Boolean>

Whether to generate default implementation classes for GraphQL fragments. Default value is false, means only interfaces are generated.

Most of the time, fragment implementations are not needed because you can easily access fragments interfaces and read all data from your queries. They are needed if you want to be able to build fragments outside an operation. For an exemple to programmatically build a fragment that is reused in another part of your code or to read and write fragments to the cache.