Function: getSelectionPlan()
getSelectionPlan<
T,S,V>(viewComposition,ref):SelectionPlan
Defined in: packages/fate/src/selection.ts:37
Flattens a view into a SelectionPlan, expanding composed views and partitioning nested args so the client can fetch exactly what is declared.
Type Parameters
T
T extends Entity
S
S extends Selection<T>
V
V extends View<T, S>
Parameters
viewComposition
V
ref
Readonly<{ __typename: T["__typename"]; [ViewsTag]: Set<string>; id: string | number; }> | null
Returns
SelectionPlan