Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rand function for MySql added #683

Merged
merged 8 commits into from
May 26, 2022
Merged

Conversation

gantu
Copy link
Contributor

@gantu gantu commented May 26, 2022

Implementing #651

@gantu gantu requested a review from a team as a code owner May 26, 2022 15:17
@CLAassistant
Copy link

CLAassistant commented May 26, 2022

CLA assistant check
All committers have signed the CLA.

sviezypan
sviezypan previously approved these changes May 26, 2022
Copy link
Collaborator

@sviezypan sviezypan left a comment

Choose a reason for hiding this comment

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

Looks good! thank you for your work on this

Comment on lines 156 to 160
val assertion = for {
r <- testResult.runCollect
} yield assert(r.head)(Assertion.isGreaterThanEqualTo(0d) && Assertion.isLessThanEqualTo(1d))

assertion.mapErrorCause(cause => Cause.stackless(cause.untraced))
Copy link
Member

Choose a reason for hiding this comment

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

We've changed the convention of repeated block to something shorter. Please take a look at this PR https://github.com/zio/zio-sql/pull/687/files and adjust for the same convention 🙏

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@sviezypan sviezypan merged commit 33a9e27 into zio:master May 26, 2022
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