File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ procedure TDataValidatorContext<T>.AfterConstruction;
307
307
destructor TDataValidatorContext<T>.Destroy;
308
308
begin
309
309
FList.Clear;
310
- FList.DisposeOf ;
310
+ FList.Free ;
311
311
312
312
inherited ;
313
313
end ;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ constructor TDataValidatorJSON.Create(const AJSON: TJSONArray);
96
96
destructor TDataValidatorJSON.Destroy;
97
97
begin
98
98
FList.Clear;
99
- FList.DisposeOf ;
99
+ FList.Free ;
100
100
101
101
inherited ;
102
102
end ;
@@ -342,6 +342,9 @@ function TDataValidatorJSON.CheckItemValueObject(const AName: string; const AChe
342
342
LOK := False;
343
343
LInfo.Add(LValidatorResult.Informations as IDataValidatorInformations);
344
344
345
+ if (LValidatorItem is TDataValidatorJSONKeyIsRequired) then
346
+ Break;
347
+
345
348
if not ACheckAll then
346
349
Break;
347
350
end
@@ -406,6 +409,9 @@ function TDataValidatorJSON.CheckItemValueArray(const AName: string; const AChec
406
409
LOK := False;
407
410
LInfo.Add(LValidatorResult.Informations as IDataValidatorInformations);
408
411
412
+ if (LValidatorItem is TDataValidatorJSONKeyIsRequired) then
413
+ Break;
414
+
409
415
if not ACheckAll then
410
416
Break;
411
417
end
You can’t perform that action at this time.
0 commit comments