doctrine/mongodb-odm — Issue #185: DocumentRepository->find and autoincrement id
Author: cbou
Created: 2011-11-05 11:47:48+00:00
State: open

With autoincrement ID, the method DocumentRepository->find() does not work if the given id is a string.

example:

``` php
$repository->find("1"); // does not works
$repository->find(1); // it works
$repository->find((float)"1"); // it works too
```