The SpeckleAbstract Type has a few cool ideas in it, but after initial frolicking, we will defer to several sets of good practice, namely:
Serialise classes that are marked as [Serializable]
Respect properties/fields that are marked with [NotSerialised]
Enforce safe dynamic instantiation based on empty constructors
Also docs will need to be updated...
To keep in mind, also custom attributes could be used, on the lines of [SpeckleSafe] to mark safe-for-speckle classes, and [SpeckleSkip] to mark fields/properties that should not be serialised.
The SpeckleAbstract Type has a few cool ideas in it, but after initial frolicking, we will defer to several sets of good practice, namely:
[Serializable]
[NotSerialised]
Also docs will need to be updated...
To keep in mind, also custom attributes could be used, on the lines of [SpeckleSafe] to mark safe-for-speckle classes, and [SpeckleSkip] to mark fields/properties that should not be serialised.