You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The useFragment hook generation only sets the fragment and from options, but does not include the other base options for variables, optimistic, and client.
Describe the solution you'd like
Add a second, options param to include any missing options from the base fragment options type.
Replacing the existing 'identifiers' param with a more traditional FragmentOptions that accepts the IDs and base options, although this would be a breaking change without duck-typing.
Is your feature request related to a problem? Please describe.
The
useFragment
hook generation only sets the fragment and from options, but does not include the other base options forvariables
,optimistic
, andclient
.Describe the solution you'd like
Add a second, options param to include any missing options from the base fragment options type.
Describe alternatives you've considered
Replacing the existing 'identifiers' param with a more traditional FragmentOptions that accepts the IDs and base options, although this would be a breaking change without duck-typing.
Additional context
The text was updated successfully, but these errors were encountered: