home.social

#dry_rb — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #dry_rb, aggregated by home.social.

fetched live
  1. Hanami 2.2.0.beta2 is out!

    This beta is a special one: it includes something I’d originally ruled out for 2.2: multiple gateway support!

    Now you’re just a single env var away from building a persistence layer that can seamlessly mix and match data from multiple different databases!

    Oh, and we added MySQL support. And support for full contract-based params validation.

    Next steps: an rc1 and then 2.2 final, all before @rubyconf!

    hanamirb.org/blog/2024/09/25/h

    #hanami #ruby #dry_rb

  2. Hanami 2.2.0.beta2 is out!

    This beta is a special one: it includes something I’d originally ruled out for 2.2: multiple gateway support!

    Now you’re just a single env var away from building a persistence layer that can seamlessly mix and match data from multiple different databases!

    Oh, and we added MySQL support. And support for full contract-based params validation.

    Next steps: an rc1 and then 2.2 final, all before @rubyconf!

    hanamirb.org/blog/2024/09/25/h

    #hanami #ruby #dry_rb

  3. Hanami 2.2.0.beta2 is out!

    This beta is a special one: it includes something I’d originally ruled out for 2.2: multiple gateway support!

    Now you’re just a single env var away from building a persistence layer that can seamlessly mix and match data from multiple different databases!

    Oh, and we added MySQL support. And support for full contract-based params validation.

    Next steps: an rc1 and then 2.2 final, all before @rubyconf!

    hanamirb.org/blog/2024/09/25/h

    #hanami #ruby #dry_rb

  4. Hanami 2.2.0.beta2 is out!

    This beta is a special one: it includes something I’d originally ruled out for 2.2: multiple gateway support!

    Now you’re just a single env var away from building a persistence layer that can seamlessly mix and match data from multiple different databases!

    Oh, and we added MySQL support. And support for full contract-based params validation.

    Next steps: an rc1 and then 2.2 final, all before @rubyconf!

    hanamirb.org/blog/2024/09/25/h

    #hanami #ruby #dry_rb

  5. Hanami 2.2.0.beta2 is out!

    This beta is a special one: it includes something I’d originally ruled out for 2.2: multiple gateway support!

    Now you’re just a single env var away from building a persistence layer that can seamlessly mix and match data from multiple different databases!

    Oh, and we added MySQL support. And support for full contract-based params validation.

    Next steps: an rc1 and then 2.2 final, all before @rubyconf!

    hanamirb.org/blog/2024/09/25/h

    #hanami #ruby #dry_rb

  6. 🌸 Announcing Hanami 2.2.0.beta2

    For our second (and final!) beta of 2.2, we’re adding MySQL support, and introducing a powerful way to work across multiple databases.

    (pssst, if you’re also a user of param validations inside actions, we have a little treat for you in this release too)

    hanamirb.org/blog/2024/09/25/h

    #ruby #hanami #dry_rb #oss #webdev #mysql

  7. 🌸 Announcing Hanami 2.2.0.beta2

    For our second (and final!) beta of 2.2, we’re adding MySQL support, and introducing a powerful way to work across multiple databases.

    (pssst, if you’re also a user of param validations inside actions, we have a little treat for you in this release too)

    hanamirb.org/blog/2024/09/25/h

    #ruby #hanami #dry_rb #oss #webdev #mysql

  8. 🌸 Announcing Hanami 2.2.0.beta2

    For our second (and final!) beta of 2.2, we’re adding MySQL support, and introducing a powerful way to work across multiple databases.

    (pssst, if you’re also a user of param validations inside actions, we have a little treat for you in this release too)

    hanamirb.org/blog/2024/09/25/h

    #ruby #hanami #dry_rb #oss #webdev #mysql

  9. 🌸 Announcing Hanami 2.2.0.beta2

    For our second (and final!) beta of 2.2, we’re adding MySQL support, and introducing a powerful way to work across multiple databases.

    (pssst, if you’re also a user of param validations inside actions, we have a little treat for you in this release too)

    hanamirb.org/blog/2024/09/25/h

    #ruby #hanami #dry_rb #oss #webdev #mysql

  10. Read about ProtoInteractor, a simple business object I created to use with Hanami. It combines:

    * The parameter parsing functionality of Hanami Actions.
    * Do notation from Dry-Monads.
    * Result objects, also from Dry-Monads.

    Feedback and corrections (especially) are welcome! Please let me know what you think!

    rossney.net/articles/protointe

    #ruby #hanami #dry_rb #dryrb

  11. Read about ProtoInteractor, a simple business object I created to use with Hanami. It combines:

    * The parameter parsing functionality of Hanami Actions.
    * Do notation from Dry-Monads.
    * Result objects, also from Dry-Monads.

    Feedback and corrections (especially) are welcome! Please let me know what you think!

    rossney.net/articles/protointe

    #ruby #hanami #dry_rb #dryrb

  12. Read about ProtoInteractor, a simple business object I created to use with Hanami. It combines:

    * The parameter parsing functionality of Hanami Actions.
    * Do notation from Dry-Monads.
    * Result objects, also from Dry-Monads.

    Feedback and corrections (especially) are welcome! Please let me know what you think!

    rossney.net/articles/protointe

    #ruby #hanami #dry_rb #dryrb

  13. Read about ProtoInteractor, a simple business object I created to use with Hanami. It combines:

    * The parameter parsing functionality of Hanami Actions.
    * Do notation from Dry-Monads.
    * Result objects, also from Dry-Monads.

    Feedback and corrections (especially) are welcome! Please let me know what you think!

    rossney.net/articles/protointe

    #ruby #hanami #dry_rb #dryrb

  14. My November'23 OS Update: Exploring database transaction management in dry-operation and incorporating global error handling to enhance flow classes. Check it out!

    waiting-for-dev.github.io/blog

    #ruby #dry_rb #hanami

  15. My November'23 OS Update: Exploring database transaction management in dry-operation and incorporating global error handling to enhance flow classes. Check it out!

    waiting-for-dev.github.io/blog

    #ruby #dry_rb #hanami

  16. My November'23 OS Update: Exploring database transaction management in dry-operation and incorporating global error handling to enhance flow classes. Check it out!

    waiting-for-dev.github.io/blog

    #ruby #dry_rb #hanami

  17. My November'23 OS Update: Exploring database transaction management in dry-operation and incorporating global error handling to enhance flow classes. Check it out!

    waiting-for-dev.github.io/blog

    #ruby #dry_rb #hanami

  18. Here’s my open source status update for September, in which I make a range of small fixes, bend better_errors to our will via a clever li’l patch, kickstart a new dry-rb gem with @waiting_for_dev, and then release Hanami 2.1.0.beta2!

    Things are moving, plenty going on. Catch yourself up: timriley.info/writing/2023/10/

    #ruby #hanami #dry_rb #opensource

  19. Here’s my open source status update for September, in which I make a range of small fixes, bend better_errors to our will via a clever li’l patch, kickstart a new dry-rb gem with @waiting_for_dev, and then release Hanami 2.1.0.beta2!

    Things are moving, plenty going on. Catch yourself up: timriley.info/writing/2023/10/

    #ruby #hanami #dry_rb #opensource

  20. Here’s my open source status update for September, in which I make a range of small fixes, bend better_errors to our will via a clever li’l patch, kickstart a new dry-rb gem with @waiting_for_dev, and then release Hanami 2.1.0.beta2!

    Things are moving, plenty going on. Catch yourself up: timriley.info/writing/2023/10/

    #ruby #hanami #dry_rb #opensource

  21. Here’s my open source status update for September, in which I make a range of small fixes, bend better_errors to our will via a clever li’l patch, kickstart a new dry-rb gem with @waiting_for_dev, and then release Hanami 2.1.0.beta2!

    Things are moving, plenty going on. Catch yourself up: timriley.info/writing/2023/10/

    #ruby #hanami #dry_rb #opensource

  22. Here’s my open source status update for September, in which I make a range of small fixes, bend better_errors to our will via a clever li’l patch, kickstart a new dry-rb gem with @waiting_for_dev, and then release Hanami 2.1.0.beta2!

    Things are moving, plenty going on. Catch yourself up: timriley.info/writing/2023/10/

    #ruby #hanami #dry_rb #opensource

  23. Seven years ago, Icelab’s web stack. We’re getting closer and closer to the day where we can replace most of this with just “Hanami 2”. 💪🏼

    #ruby #hanami #dry_rb

  24. Seven years ago, Icelab’s web stack. We’re getting closer and closer to the day where we can replace most of this with just “Hanami 2”. 💪🏼

    #ruby #hanami #dry_rb

  25. Seven years ago, Icelab’s web stack. We’re getting closer and closer to the day where we can replace most of this with just “Hanami 2”. 💪🏼

    #ruby #hanami #dry_rb

  26. Seven years ago, Icelab’s web stack. We’re getting closer and closer to the day where we can replace most of this with just “Hanami 2”. 💪🏼

    #ruby #hanami #dry_rb

  27. Seven years ago, Icelab’s web stack. We’re getting closer and closer to the day where we can replace most of this with just “Hanami 2”. 💪🏼

    #ruby #hanami #dry_rb

  28. Solved: use `Types::Symbol.enum(symbol: 'string', ...)` if you want to convert Strings into Symbols.
    #dry_rb #dry_types

  29. Solved: use `Types::Symbol.enum(symbol: 'string', ...)` if you want to convert Strings into Symbols.
    #dry_rb #dry_types

  30. Solved: use `Types::Symbol.enum(symbol: 'string', ...)` if you want to convert Strings into Symbols.
    #dry_rb #dry_types

  31. Solved: use `Types::Symbol.enum(symbol: 'string', ...)` if you want to convert Strings into Symbols.
    #dry_rb #dry_types

  32. Solved: use `Types::Symbol.enum(symbol: 'string', ...)` if you want to convert Strings into Symbols.
    #dry_rb #dry_types

  33. How would you use dry-types/dry-schema to map a finite set of possible Strings to
    a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.

    Input: ['syn', 'ack']
    Output: [:syn, :ack]

    #dry_rb #dry_types #dry_schema

  34. How would you use dry-types/dry-schema to map a finite set of possible Strings to
    a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.

    Input: ['syn', 'ack']
    Output: [:syn, :ack]

    #dry_rb #dry_types #dry_schema

  35. How would you use dry-types/dry-schema to map a finite set of possible Strings to
    a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.

    Input: ['syn', 'ack']
    Output: [:syn, :ack]

    #dry_rb #dry_types #dry_schema

  36. How would you use dry-types/dry-schema to map a finite set of possible Strings to
    a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.

    Input: ['syn', 'ack']
    Output: [:syn, :ack]

    #dry_rb #dry_types #dry_schema

  37. How would you use dry-types/dry-schema to map a finite set of possible Strings to
    a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.

    Input: ['syn', 'ack']
    Output: [:syn, :ack]

    #dry_rb #dry_types #dry_schema

  38. Now that I'm writing HTML forms to pass params to dry-validations/dry-schema, I'm wondering if anyone has built a form builder library that can interpret dry-types and generate the appropriate form fields? Or is that what trailblazer is for?
    #dry_rb

  39. Now that I'm writing HTML forms to pass params to dry-validations/dry-schema, I'm wondering if anyone has built a form builder library that can interpret dry-types and generate the appropriate form fields? Or is that what trailblazer is for?
    #dry_rb

  40. Now that I'm writing HTML forms to pass params to dry-validations/dry-schema, I'm wondering if anyone has built a form builder library that can interpret dry-types and generate the appropriate form fields? Or is that what trailblazer is for?
    #dry_rb

  41. Now that I'm writing HTML forms to pass params to dry-validations/dry-schema, I'm wondering if anyone has built a form builder library that can interpret dry-types and generate the appropriate form fields? Or is that what trailblazer is for?
    #dry_rb

  42. Now that I'm writing HTML forms to pass params to dry-validations/dry-schema, I'm wondering if anyone has built a form builder library that can interpret dry-types and generate the appropriate form fields? Or is that what trailblazer is for?
    #dry_rb

  43. dry-schema newb question: how do I correctly coerce non-empty String -> Integer, empty String -> nil?

    Trying `optional(:foo).value(:integer)` and
    `optional(:foo).maybe(:integer)` both raise dry-validation errors when given either an empty-String or a numerical String. I suspect I'm making a really basic mistake here.
    #dry_rb

  44. dry-schema newb question: how do I correctly coerce non-empty String -> Integer, empty String -> nil?

    Trying `optional(:foo).value(:integer)` and
    `optional(:foo).maybe(:integer)` both raise dry-validation errors when given either an empty-String or a numerical String. I suspect I'm making a really basic mistake here.
    #dry_rb

  45. dry-schema newb question: how do I correctly coerce non-empty String -> Integer, empty String -> nil?

    Trying `optional(:foo).value(:integer)` and
    `optional(:foo).maybe(:integer)` both raise dry-validation errors when given either an empty-String or a numerical String. I suspect I'm making a really basic mistake here.
    #dry_rb

  46. dry-schema newb question: how do I correctly coerce non-empty String -> Integer, empty String -> nil?

    Trying `optional(:foo).value(:integer)` and
    `optional(:foo).maybe(:integer)` both raise dry-validation errors when given either an empty-String or a numerical String. I suspect I'm making a really basic mistake here.
    #dry_rb

  47. dry-schema newb question: how do I correctly coerce non-empty String -> Integer, empty String -> nil?

    Trying `optional(:foo).value(:integer)` and
    `optional(:foo).maybe(:integer)` both raise dry-validation errors when given either an empty-String or a numerical String. I suspect I'm making a really basic mistake here.
    #dry_rb

  48. How do you specify a String or Regexp type in a dry-schema?
    #dry_rb

  49. How do you specify a String or Regexp type in a dry-schema?
    #dry_rb