Samuel Michael
04/06/2021, 2:31 AM#import "./MyFragment"
that but so far no example in an Android context.
Currently we are redefining the same huge fragments in multiple queries and would like to be able to extract all those into several separate fragment files and DRY up the main querieswasyl
04/06/2021, 6:07 AMSamuel Michael
04/07/2021, 6:37 AMwasyl
04/07/2021, 6:53 AM*.graphql
files under src/main/grapqhl/com/package/…./queries
. In those *.graphql
files some define fragments and some queries, and we can use all fragments from all queries no problem.
I’m not sure what you mean by different gradle process. Do you have fragments and queries in different modules?Samuel Michael
04/08/2021, 11:45 AMwasyl
04/08/2021, 11:51 AMSamuel Michael
04/08/2021, 11:58 AMwasyl
04/08/2021, 12:01 PM