Skip to content

Commit

Permalink
fix(solid-query): Remove unserializable values
Browse files Browse the repository at this point in the history
  • Loading branch information
ardeora committed Apr 26, 2023
1 parent fa04d8b commit e4bd6fd
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 e4bd6fd

Please sign in to comment.