diff --git a/docs/06-concepts/03-serialization.md b/docs/06-concepts/03-serialization.md index 736551aa..438af210 100644 --- a/docs/06-concepts/03-serialization.md +++ b/docs/06-concepts/03-serialization.md @@ -24,7 +24,6 @@ For most purposes, you will want to use Serverpod's native serialization. Howeve } ``` - 3. There must be a method called `copyWith()`, which returns a new instance of the object with the specified fields replaced. :::tip In the framework, `copyWith()` is implemented as a deep copy to ensure immutability. We recommend following this approach when implementing it for custom classes to avoid unintentional side effects caused by shared mutable references.