string[] where each string is a field in the model
recurses over nested objects - such as relationships and custom types - generating a field.*
type value to select all fields in that nested type,
as well as a dot-delimited set of fields for fine-grained selection of particular fields in the nested type (see example below)
FlatModel = {
id: string
title: string
comments: {
id:: string
content: string
}[]
}
'id' | 'title' | 'comments.*' | 'comments.id' | 'comments.content'
Generates custom selection set type with up to 6 levels of nested fields