Say in my app I have something like this:
user {
// fields
}
and say I repeat this over 50+ times. sometimes just with a couple of fields like
user {
id
name
}
but sometimes with maybe 10/20+. Is the best practice to merely do an analysis of the app and decide (arbitrarily?) if a field appears more than half the number of times then it needs to be pulled into a fragment?
Also say just id
and name
appear a lot, is that worth pulling into a fragment by itself?
Is it better to pull more stuff into fragments at the expense of requesting fields that are not needed in some of the queries?