We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53659bb commit 09be53aCopy full SHA for 09be53a
src/Commands/BaseCommand.php
@@ -430,11 +430,13 @@ protected function parseFieldsFromJsonFile()
430
$jsonData = json_decode($fileContents, true);
431
$this->config->fields = [];
432
foreach ($jsonData as $field) {
433
- $this->config->fields[] = GeneratorField::parseFieldFromFile($field);
434
-
435
if (isset($field['relation'])) {
436
$this->config->relations[] = GeneratorFieldRelation::parseRelation($field['relation']);
+ continue;
437
}
+
438
+ $this->config->fields[] = GeneratorField::parseFieldFromFile($field);
439
440
441
442
0 commit comments