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 8f716fc commit 4d2079cCopy full SHA for 4d2079c
1 file changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Schemas/GraphQLSchema.inc
@@ -218,8 +218,7 @@ class GraphQLSchema extends Schema {
218
if ($model->$field instanceof NestedModelField) {
219
if ($input) {
220
$nested_model_type = $this->get_model_input_object_type($model->$field->model_class);
221
- }
222
- else {
+ } else {
223
$nested_model_type = $this->get_model_object_type($model->$field->model_class);
224
}
225
$fields[$field]['type'] = $this->field_to_type(field: $model->$field, type: $nested_model_type);
0 commit comments