Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 22 22:06
    mmizutani starred dry-rb/dry-initializer
  • Jun 22 16:36
    pedrocarmona commented #87
  • Jun 22 16:35
    pedrocarmona edited #87
  • Jun 22 16:34
    pedrocarmona edited #87
  • Jun 22 16:33
    pedrocarmona edited #87
  • Jun 22 16:22
    pedrocarmona edited #87
  • Jun 22 16:17
    pedrocarmona edited #87
  • Jun 22 16:13
    pedrocarmona labeled #87
  • Jun 22 16:13
    pedrocarmona opened #87
  • Jun 22 16:13
    pedrocarmona labeled #87
  • Jun 22 13:31
    timriley opened #181
  • Jun 22 13:31

    timriley on explicit-two-way-component-dir-namespaces

    Looks like things are working Remove unneeded require Get it to work for finalized co… and 1 more (compare)

  • Jun 19 15:03
    aristotelesbr2014 starred dry-rb/dry-matcher
  • Jun 17 05:05
    Gokul595 starred dry-rb/dry-monads
  • Jun 15 22:18
    mathias7777 starred dry-rb/dry-types
  • Jun 15 22:17
    an-lee starred dry-rb/dry-types
  • Jun 15 14:11
    davydovanton assigned #94
  • Jun 14 21:27
    denjamio starred dry-rb/dry-types
  • Jun 13 13:53
    otmosina starred dry-rb/dry-initializer
  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

Piotr Solnica
@solnic
@AMHOL I will do the hocus pocus in rom-model for that
Andy Holland
@AMHOL
Yeah, I was more meaning say if you wanted a constraint on users#email and then another on credential#token for example
Piotr Solnica
@solnic
but a generic orm-agnostic/db-lib-agnostic predicate would be insane IMO
Andy Holland
@AMHOL
Ahh, cool
Yep, v.bad idea
Nice work BTW, looking awesome
Piotr Solnica
@solnic
@AMHOL thanks man, I’m close to cover all the use cases :)
but I’m gonna stop now, I feel confident enough that this is a good direction that more advanced stuff can be done later
Andy Holland
@AMHOL
Cool, I wish I could see a before and after on your million line validators lol
Piotr Solnica
@solnic
I gotta focus on rodakase and the book now
Andy Holland
@AMHOL
You written any of the book yet?
Piotr Solnica
@solnic
@AMHOL ain’t gonna happen, which is unfortunate, I’m leaving the project this month
Andy Holland
@AMHOL
Ahh, that's a shame
Piotr Solnica
@solnic
@AMHOL I’m about to start. first pages will be written on Friday
Andy Holland
@AMHOL
Nice :)
Piotr Solnica
@solnic
I need to come up with a rough plan first, but I have “intro” in my head so that’d be a start
I also need to figure out leanpub :)
90 stars on dry-validation btw :sparkles:
Andy Holland
@AMHOL
:D
Piotr Solnica
@solnic
it’s been a trending repo on github since last week, every day, I actually check it daily for whatever reason :joy:
Andy Holland
@AMHOL
lol to see if any of your repos are there ;)
Piotr Solnica
@solnic
that’s very likely
Andy Holland
@AMHOL
It is cool tho
Piotr Solnica
@solnic
morning
Hannes Nevalainen
@kwando
hola!
Piotr Solnica
@solnic
how would you call an object that is a result of running validation?
@AMHOL @timriley ^^ ???
hola @kwando :)
leaning towards Schema::Outcome
Hannes Nevalainen
@kwando
whats wrong with Schema::Result?
Piotr Solnica
@solnic
we have Validation::Result already
which is a result-per-rule
and we have Validation::Result::Set which is a result per rule-set
I actually need another concept, an array of result objects
no idea how to call it either
ok I know what to do
Tim Riley
@timriley
“Result” seems most natural, but since it’s already in use, “Outcome” isn’t too bad.
Piotr Solnica
@solnic
Validation::Result will become the enumerable containing Result::Value and Result::Set
Tim Riley
@timriley
“Product” is another possibility but it’s a term that’s already too loaded
Piotr Solnica
@solnic
question is, how to call abstract class for value and set lol
damn
it’s gonna be silly to have Schema::Result containing a…validation result
NAMING
;(
otoh it should be private
we want access to successes and failures
@timriley btw how does successes sound?
Tim Riley
@timriley
Sounds fine to me.
Piotr Solnica
@solnic
ok :)
Tim Riley
@timriley
It’s clear.