prooph / event-store-http-client

PHP 7.2 Event Store HTTP Client Implementation
BSD 3-Clause "New" or "Revised" License
25 stars 5 forks source link

Client doesn't match event store interfaces? #49

Closed burzum closed 3 years ago

burzum commented 4 years ago

The HTTP client doesn't match recent changes to the event store library?

Fatal error: Could not check compatibility between Prooph\EventStoreHttpClient\Internal\EventStoreHttpConnection::subscribeToStream(string $stream, bool $resolveLinkTos, Prooph\EventStore\EventAppearedOnSubscription $eventAppeared, ?Prooph\EventStore\SubscriptionDropped $subscriptionDropped = NULL, ?Prooph\EventStore\UserCredentials $userCredentials = NULL): Prooph\EventStore\EventStoreSubscription and Prooph\EventStore\EventStoreConnection::subscribeToStream(string $stream, bool $resolveLinkTos, Closure $eventAppeared, ?Closure $subscriptionDropped = NULL, ?Prooph\EventStore\UserCredentials $userCredentials = NULL): Prooph\EventStore\EventStoreSubscription, because class Prooph\EventStore\SubscriptionDropped is not available in \event-sourcing-test-app\vendor\prooph\event-store-http-client\src\Internal\EventStoreHttpConnection.php on line 1090

burzum commented 4 years ago

Fixed in https://github.com/prooph/event-store-http-client/pull/50

prolic commented 4 years ago

Yes, it's a known issue

On Sat, May 23, 2020, 17:55 Florian Krämer notifications@github.com wrote:

The HTTP client doesn't match recent changes to the event store library?

Fatal error: Could not check compatibility between Prooph\EventStoreHttpClient\Internal\EventStoreHttpConnection::subscribeToStream(string $stream, bool $resolveLinkTos, Prooph\EventStore\EventAppearedOnSubscription $eventAppeared, ?Prooph\EventStore\SubscriptionDropped $subscriptionDropped = NULL, ?Prooph\EventStore\UserCredentials $userCredentials = NULL): Prooph\EventStore\EventStoreSubscription and Prooph\EventStore\EventStoreConnection::subscribeToStream(string $stream, bool $resolveLinkTos, Closure $eventAppeared, ?Closure $subscriptionDropped = NULL, ?Prooph\EventStore\UserCredentials $userCredentials = NULL): Prooph\EventStore\EventStoreSubscription, because class Prooph\EventStore\SubscriptionDropped is not available in \event-sourcing-test-app\vendor\prooph\event-store-http-client\src\Internal\EventStoreHttpConnection.php on line 1090

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prooph/event-store-http-client/issues/49, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAJPCRE4TUXCRDDNEGHZTRTBA4BANCNFSM4NITUNTA .