prooph/event-store-symfony-bundle

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

Miljar opened this issue · 2 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