Recently I experienced the same problem as the guy
here, and solved it according to the answer.
Basically I have a record class in a subfolder of the Modules folder. This works as long as the record class is in the root namespace ModuleName.Models. Modifying the namespace to ModuleName.Models.Subfolder causes the persistence error described in the
linked thread. However I think for better organization of the source code it really should be possible to have records in subsequent namespaces as well.
Is this feasibly possible? Should I open an issue for it?