Skip to content

Throw exception when trying to findBy wrong properties #458

@wouterj

Description

@wouterj

When the title property is mapped as the node name, the following code will result in an empty collection:

$dm->getRepository(...)->findBy(array('title' => 'Hello'));

Instead, it should throw an exception since it can't find by properties that are mappend as node name.

The same applies to other properties like parentDocument, etc.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions