Skip to content

Commit 73e24bc

Browse files
authored
Serialiser_Engine: Update NullOrEmptyCheck to just check for Null (#3364)
2 parents a83208a + e985fea commit 73e24bc

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.ci/Datasets/Structure_Engine/Create/CellularSectionFromBaseSection.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Serialiser_Engine/Compute/Serialise/IBHoMObject.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ private static void Serialise(this IBHoMObject value, BsonDocumentWriter writer,
5757

5858
switch (prop.Name)
5959
{
60-
case "Name":
61-
include = !string.IsNullOrEmpty(value.Name);
62-
break;
6360
case "Fragments":
6461
include = (value.Fragments != null && value.Fragments.Count > 0);
6562
break;

0 commit comments

Comments
 (0)