Skip to content
New issue

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

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

Already on GitHub? # to your account

Psr 71 #10

Merged
merged 10 commits into from
Jan 30, 2023
Merged

Psr 71 #10

merged 10 commits into from
Jan 30, 2023

Conversation

kurtlogan
Copy link
Contributor

No description provided.

collection
.updateOne(
filter = byId(id),
update = Updates.set("lastUpdated", Instant.now(clock)),
)
.toFuture
.map(_ => true)
.as(())
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: do you think it's worth adding an extra function to FutureOps to handle this case? (like .unit in cats)

import play.api.mvc.Call
import viewmodels.DisplayMessage

case class ContentPageViewModel(
Copy link
Contributor

Choose a reason for hiding this comment

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

nice abstraction 👍

westwater
westwater previously approved these changes Jan 24, 2023
@kurtlogan kurtlogan dismissed stale reviews from westwater and narendrapaduchuri via f7b9009 January 25, 2023 16:23
@narendrapaduchuri narendrapaduchuri merged commit ebadb8e into main Jan 30, 2023
@narendrapaduchuri narendrapaduchuri deleted the PSR-71 branch January 30, 2023 14:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants