Skip to content

Commit af420de

Browse files
committed
fix(laravel): inject missing dependencies into HydraSchemaFactory
1 parent d36c14c commit af420de

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Laravel/ApiPlatformProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,9 @@ public function register(): void
914914

915915
return new HydraSchemaFactory(
916916
$app->make(JsonApiSchemaFactory::class),
917-
$defaultContext
917+
$defaultContext,
918+
$app->make(DefinitionNameFactoryInterface::class),
919+
$app->make(ResourceMetadataCollectionFactoryInterface::class),
918920
);
919921
});
920922

0 commit comments

Comments
 (0)