can we use data builders to generate fragment inst...
# apollo-kotlin
a
can we use data builders to generate fragment instances?
b
Yes! You need to generate fragment implementations (
generateFragmentImplementations.set(true)
). example
thank you color 1
a
do fragment implementations include nested field content? im seeing it missing from the builders generated
b
do you mean the data builder for sub fields? They would be functions defined in the
type
package, for instance here
buildLion
is defined in
Lion.kt
in
type
.
a
sorry, was not working yesterday . i figured it out. i needed to add the apollo used coordinates of the module I was working with. without it, the builder was missing the fields
b
oh all right