3 Commits

Author SHA1 Message Date
gitea-actions
5eb4921c60 chore: bump version to v0.1.15
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
Build & Push Docker Image / build (push) Successful in 17s
2026-04-06 14:44:06 +00:00
c7e32c74b6 Merge remote-tracking branch 'origin/develop' into develop
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
2026-04-06 16:43:58 +02:00
e9850fdb2e fix : correct Link uriVariables for environment POST endpoint
Use toProperty + identifiers instead of fromProperty to resolve
application slug correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 16:43:26 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
parameters:
app.version: '0.1.14'
app.version: '0.1.15'

View File

@@ -21,7 +21,7 @@ use Symfony\Component\Serializer\Attribute\Groups;
new Post(
uriTemplate: '/applications/{slug}/environments',
uriVariables: [
'slug' => new Link(fromClass: Application::class, fromProperty: 'environments'),
'slug' => new Link(toProperty: 'application', fromClass: Application::class, identifiers: ['slug']),
],
security: "is_granted('ROLE_ADMIN')",
),