Skip to content

Conversation

@asev
Copy link
Contributor

@asev asev commented May 16, 2015

This is useful method for repository.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO there should be a third argument with result type.

@martiis
Copy link
Contributor

martiis commented May 18, 2015

Issue #346

@tautelis
Copy link
Contributor

Looking forward for the release with this useful method!

@asev
Copy link
Contributor Author

asev commented May 18, 2015

I've added resultType argument to findOneBy(). In case when resultType is RESULTS_OBJECT - it acts the same as find().

@asev
Copy link
Contributor Author

asev commented May 26, 2015

This one is still important for our project. Do you see any problems with implementation?

@saimaz
Copy link
Contributor

saimaz commented May 26, 2015

Looks ok.

saimaz added a commit that referenced this pull request May 26, 2015
findOneBy added to Repository
@saimaz saimaz merged commit bc47803 into ongr-io:master May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants