- Home /
Question by
djweinbaum · Oct 07, 2020 at 08:10 AM ·
serializationlimit
Are there any repercussions to ignoring the Serialization depth limit warning?
I get the warning
Serialization depth limit 7 exceeded at 'SomeClass.NotImportant'. There may be an object composition cycle in one or more of your serialized classes.
This warning comes from having a serialized List inside of SomeClass. But I do not use it in a way where that 7 would ever actually be exceeded (only ever go one level deep on this). My question is can I safely ignore this warning? Des anyone know of specific data loss, performance issues, or bugs that will result from it (again, given that I can guarantee I will never actually store or attempt to access data 7 layers deep).
Comment