Skip to content

Commit

Permalink
Serialiser_Engine: Update NullOrEmptyCheck to just check for Null (#3364
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pawelbaran authored Jul 3, 2024
2 parents a83208a + e985fea commit 73e24bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions Serialiser_Engine/Compute/Serialise/IBHoMObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ private static void Serialise(this IBHoMObject value, BsonDocumentWriter writer,

switch (prop.Name)
{
case "Name":
include = !string.IsNullOrEmpty(value.Name);
break;
case "Fragments":
include = (value.Fragments != null && value.Fragments.Count > 0);
break;
Expand Down

0 comments on commit 73e24bc

Please sign in to comment.