Add PartialEq and Eq derives to ServerFnError (#4393)

This fixes the missing `PartialEq` implementation for `ServerFnError` in v0.7.0-alpha.2 which was breaking `use_memo` functionality.

Closes #4387
This commit is contained in:
Himmelschmidt authored and GitHub committed 2025-07-08 13:24:34 -04:00
1 parent a4ebdcb69e
commit b82ba85653
1 file changed
+1 -1
+1 -1
View File
@@ -120,7 +120,7 @@ pub type ServerFnResult<T = (), E = String> = std::result::Result<T, ServerFnErr
/// )))
/// }
/// ```
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq)]
pub enum ServerFnError<T = String> {
/// An error running the server function
ServerError(T),