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
refactor(react-api-client): fix react query key object hashing for useAllCommandsAsPreSerializedList (#15188)
React query does not properly handle objects passed in useQuery's
queryKey array argument that contain keys with `undefined` values. Here,
in `useAllCommandsAsPreSerializedList`, I map undefined values to null
so that they are properly cached and do not trigger a refetch when the
host object does not change.
0 commit comments