Skip to content

Commit

Permalink
fix(solid-query): Remove unserializable values (#5326)
Browse files Browse the repository at this point in the history
  • Loading branch information
ardeora authored Apr 26, 2023
1 parent fa04d8b commit 1f58281
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/solid-query/src/createBaseQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ export function createBaseQuery<
// copying over the missing properties from state in order to support hydration
dataUpdateCount: query.state.dataUpdateCount,
fetchFailureCount: query.state.fetchFailureCount,
fetchFailureReason: query.state.fetchFailureReason,
fetchMeta: query.state.fetchMeta,
// Removing these properties since they might not be serializable
// fetchFailureReason: query.state.fetchFailureReason,
// fetchMeta: query.state.fetchMeta,
isInvalidated: query.state.isInvalidated,
}

Expand Down

0 comments on commit 1f58281

Please sign in to comment.