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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@
5
5
### Bug fixes
6
6
7
7
*[0c1c1c36f](https://github.com/api-platform/core/commit/0c1c1c36f55ba96119e6c22ea25fb69c85b20161) fix(symfony): enable API Platform in LexikJWTAuthenticationBundle (#5609)
8
+
9
+
10
+
You can disable this behaviour by setting the configuration key `lexik_jwt_authentication.api_platform.enabled` to `false`
11
+
8
12
*[146991ba4](https://github.com/api-platform/core/commit/146991ba42014f0141195bc43be5cd875665407c) fix(openapi): merge parameters with deprecated openApiContext (#5703)
9
13
*[14969aa0c](https://github.com/api-platform/core/commit/14969aa0c6f021bb4bf3e9d13b00e710c22110de) fix(serializer): put replaces embed collection (#5604)
@@ -69,13 +71,13 @@ public function create(string $resourceClass): ResourceMetadataCollection
69
71
// No item operation has been found on all resources for resource class: generate one on the last resource
70
72
// Helpful to generate an IRI for a resource without declaring the Get operation
71
73
/** @var HttpOperation $operation */
72
-
$operation = (newNotExposed())->withClass($resource->getClass())->withShortName($resource->getShortName()); // @phpstan-ignore-line $resource is defined if count > 0
74
+
[$key, $operation] = $this->getOperationWithDefaults($resource, newNotExposed(), true, ['uriTemplate']); // @phpstan-ignore-line $resource is defined if count > 0
73
75
74
76
if (!$this->linkFactory->createLinksFromIdentifiers($operation)) {
0 commit comments