Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

DSL: contains method conflicts with built-in #23

Open
danielkza opened this issue Jul 30, 2013 · 1 comment
Open

DSL: contains method conflicts with built-in #23

danielkza opened this issue Jul 30, 2013 · 1 comment
Labels

Comments

@danielkza
Copy link
Contributor

As per title, the contains method of the query filter DSL doesn't work at all because it conflicts with the built-in on String.

@nikita-volkov
Copy link
Contributor

Damn it! I never really liked the DSL idea and here it comes back haunting.

Simply changing the name of this function will break the associativity with whereContains method of the Querier, so I am currently considering either changing names of both the DSL and whereContains and whereNotContains or finding some smart prefix for DSL which would discern all SORM's implicits.

Suggestions are welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants