diff --git a/Program.cs b/Program.cs index ff694bb..4065434 100644 --- a/Program.cs +++ b/Program.cs @@ -551,6 +551,6 @@ public PatchOperationListBuilder WithSet(object value, Func? return this; } - public PatchOperationList Build() => _patchOperations; + public PatchOperationList Build() => _patchOperations.Where(op=> op is not null).ToList(); } } \ No newline at end of file