-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serializing reuses original objects? #566
Comments
Indeed, this is explained in the documentation section avoid-unnecessary-copies. Most of the time, serialized data are directly passed to The fact you opened an issue tells me:
|
Ah, I now remember stumbling upon that page a long while ago, but I forgot about it. I did have the feeling it had to be mentioned somewhere. The page is excellently written and explains very well the design considerations etc. Maybe it's worth to add a link to the In any case, it's great that there is a way to disable the behaviour. By the way, I just want to say that apischema absolutely rocks! |
Consider the following simple program:
This program will print
True
.Is it expected and desired that
apischema.serialize
reuses original objects?The text was updated successfully, but these errors were encountered: