You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use HTTPS everywhere (fix the generation)
* Default config matching the one of the API Platform distribution
* Respect the order of properties defined in the config file
@@ -147,7 +153,7 @@ public function generate(array $config)
147
153
}
148
154
149
155
if ($resource) {
150
-
$typesToGenerate[] = $resource;
156
+
$typesToGenerate[$typeName] = $resource;
151
157
} else {
152
158
$this->logger->warning('Type "{typeName}" cannot be found. Using "{guessFrom}" type to generate entity.', ['typeName' => $typeName, 'guessFrom' => $typeConfig['guessFrom']]);
0 commit comments