phpcr selectorName in QOM factory: null?

3 views
Skip to first unread message

David Buchmann

unread,
Jul 19, 2013, 10:35:42 AM7/19/13
to jackal...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

as piotras noted, the interface allows the selectorName to be null.
for example:
https://github.com/phpcr/phpcr/blob/master/src/PHPCR/Query/QOM/QueryObjectModelFactoryInterface.php#L97

there is a couple of other places in this factory. what is the
intention of allowing null for the selectorName? what are the
semantics if it is null?

this is currently the last open issue on phpcr - would be great if we
can close this.
https://github.com/phpcr/phpcr/issues/34

if we would have to change this, its quite a BC break, and annoying as
the parameter order that changes is string parameters, so mistakes
will only appear at runtime.

cheers,david
- --
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJR6U6+AAoJED/JtliXIA4spMIIAJ73MYk+32/gvjHdnbtLR7Lv
2W0N+YYfS8KITB5DjIAriY7bMgjg6KlHKfO6kk2dCIiV7AbLu7N0NWXfDP+lVYUx
RlQ9Ha2lCV2Ag+1trOmtI8mcmQeLVJytrg6pr+GawWHfWzxRAm9RIkua6eN01bhF
bK/iP+Z8LrQX8D7k8gfsnchQ9pAHVaOr8d+WFU0zvdDBR45YVqpLY0j7kL/6t0Nf
7im1O6oWoBz5zOBmPfzs3Duzfs901XEJJ4LEp3+Ur0C9fZBMhbobnnufOq6xKXwE
zZ3A6bVnr6tuTdq24OC4TgNsoRIQmNN0nVGB3ofRa6YmtBj3URjJIfjpq5GMy2Y=
=YebO
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages