symfony/mercure-bundle

Mercure annotation missing

roberto910907 opened this issue · 1 comments

First of all, great job!

I've installed this bundle to be able to use it alongside the api platform package, and after configuring the env vars, I tried to add the mercure option to the @ApiResource(mercure=true) annotation and I'm getting the following error:

Unknown property "mercure" on annotation "ApiPlatform\Core\Annotation\ApiResource".

Here is my current version from some packages involved:

"name": "api-platform/api-pack",
"version": "v1.2.0",
"name": "api-platform/core",
"version": "v2.3.6",
"name": "symfony/mercure-bundle",
"version": "v0.1.1",
"name": "symfony/framework-bundle",
"version": "v4.2.4",

I found that the change adding the new property was introduced in v2.4.0-beta.2 so I installed that specific version for api-platform/core for now!