Closed peterjamesnugent closed 3 months ago
@BHoMBot check compliance
@BHoMBot check unit-tests
Added the check suggested by @pawelbaran as that solves the majority of cases serialising/deserialising. This does leave a mismatch for overriden properties though as commented above.
Perhaps we should add an additional check for unit-tests that looks for null names or any string properties that is null so they can be updated rather than have to patch over the Serialise
and Deserialise
methods?
Are you against removing case "Name"
from the code altogether @peterjamesnugent? Maybe it got lost in our lengthy comments, but I think both @IsakNaslundBh as well as me opted for such solution - would be good to understand why do you still keep it 👍
@BHoMBot check required
@BHoMBot check copyright-compliance @BHoMBot check dataset-compliance @BHoMBot check unit-tests
@peterjamesnugent do you have any clue if the unit tests failure is caused by this PR?
@BHoMBot this is a DevOps instruction. I am authorising dispensation to be granted on check ref. 26892311972
@BHoMBot check ready-to-merge
Issues addressed by this PR
Closes #3357
Test files
Unit tests Overriden objects and non-overriden objects
Changelog
NullOrEmptyCheck
inSerialise
method forIBHoMObject
s to just checknull
forName
properties;CellularSectionFromBase
following changes to theSerialse
method;Additional comments