prooph / event-store-symfony-bundle

Event Store Symfony Bundle

Home Page:http://getprooph.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command event-store:projection:names does not use provided limit

Miljar opened this issue · comments

When providing a limit, it is not used:

$php bin/console event-store:projection:names -l 100

Returns the default amount of 20 projection names.

When I look into the code, the provided limit is simply not passed to the method for fetching the projection names:

            } else {
                $projectionNames = $projectionManager->$method($filter); // <-- $limit & $offset
            }

@Miljar Can you submit a PR and include some tests?

Closing because bug solved with PR #52