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

[2.3.0] Kind::Maybe::Typed and Kind::{Maybe,Optional}() #30

Merged
merged 5 commits into from
Jun 25, 2020

Conversation

serradura
Copy link
Owner

1__bundle_console

Idea:

Kind::Optional(Hash)
  .wrap(params)
  .then { |params| params[:user] }
  .then { |user| User.new(user) }
  .value_or { User.new }

@serradura serradura added the enhancement New feature or request label Jun 24, 2020
@serradura serradura self-assigned this Jun 24, 2020
@serradura serradura changed the title Kind::Maybe::Typed [2.3.0] Kind::Maybe::Typed and Kind::{Maybe::Optional}() Jun 24, 2020
@serradura serradura changed the title [2.3.0] Kind::Maybe::Typed and Kind::{Maybe::Optional}() [2.3.0] Kind::Maybe::Typed and Kind::{Maybe,Optional}() Jun 24, 2020
@serradura serradura marked this pull request as ready for review June 25, 2020 02:30
@serradura serradura added this to the 2.x milestone Jun 25, 2020
@serradura serradura merged commit 6fd570c into master Jun 25, 2020
@serradura serradura deleted the kind_maybe_typed branch June 25, 2020 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant