speckleworks / SpeckleCore

Check a brand new Speckle at: https://github.com/specklesystems
https://speckle.systems
MIT License
38 stars 16 forks source link

Standardise the No Schema Approach & Make `SpeckleAbstract` (de)Serialisation Safe #43

Closed didimitrie closed 6 years ago

didimitrie commented 6 years ago

The SpeckleAbstract Type has a few cool ideas in it, but after initial frolicking, we will defer to several sets of good practice, namely:

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.