Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:55

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:55

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:55

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:54

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:54

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:54

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:54

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:54

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:54

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:54

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:52

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:52

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:52

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:52

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:52

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:52

    dry-bot on master

    [devtools] sync configs (compare)

  • 09:50
    Travis dry-rb/dry-view (master) errored (695)
  • 09:47

    solnic on master

    Update sync_configs.yml (compare)

  • 09:47

    solnic on master

    Update sync_configs.yml (compare)

  • 09:46

    solnic on master

    Update sync_configs.yml (compare)

Hannes Nevalainen
@kwando
tbh I'm only using the :default option anyway =P
stupid markdown
Piotr Solnica
@solnic
btw I ported my app to dry-data for domain entities, so I guess I could push 0.0.1
@kwando ^
Hannes Nevalainen
@kwando
woho! =D
Piotr Solnica
@solnic
@kwando not sure how usable it’s gonna be for you, there’s a lot of rough edges wrt error handling
Piotr Solnica
@solnic
so I just pushed dry-data 0.0.1 to rubygems /cc @kwando
Luca Guidi
@jodosha
:clap:
Benjamin Klotz
@tak1n
:clap: :shipit:
Piotr Solnica
@solnic
lol ;)
Benjamin Klotz
@tak1n
:D
Piotr Solnica
@solnic
it’s an early alpha, I’m sure it’s gonna crash for you :joy:
otoh my app is working so that gives some level of confidence ;0
Benjamin Klotz
@tak1n
hehe for sure :P
now Ill ask u twice as often
another lib from u I want to use :D
solnic QA team -> open position
Piotr Solnica
@solnic
haha :)
I mean it’s a good start, so please try it out :) I didn’t mean to discourage you
I think the really tricky part will be APIs for defining types that are suitable for form-input
Benjamin Klotz
@tak1n
u didn't discourage me ;)
Piotr Solnica
@solnic
with nasty stuff like “something that can be an empty string, which then we want to turn into nil unless it’s a string parsable to a date"
Benjamin Klotz
@tak1n
hehe so exactly what I need
Piotr Solnica
@solnic
we really really need a system that would allow us to define things like that
Benjamin Klotz
@tak1n
empty string -> date?
ah fuck "".to_i is zero
this to Date is a valid Date
:D
FUN
irb(main):009:0> Date.new("".to_i)
=> #<Date: 0000-01-01 ((1721058j,0s,0n),+0s,2299161j)>
irb(main):010:0> Date.new("")
ArgumentError: comparison of String with 0 failed
        from (irb):10:in `<'
        from (irb):10:in `new'
        from (irb):10
        from /usr/bin/irb:11:in `<main>'
why ruby why..
Piotr Solnica
@solnic
@tak1n there’s a lot of gotchas, that’s why isolating them is so important
Benjamin Klotz
@tak1n
true
Piotr Solnica
@solnic
update: dry-data runs on production :D
Benjamin Klotz
@tak1n
:clap:
Luca Guidi
@jodosha
@solnic bump to 1.0 then :D
Piotr Solnica
@solnic
haha, no. ;)
still a lot to do
Hannes Nevalainen
@kwando
joho, congratz! =)
Piotr Solnica
@solnic
I gotta figure out a way to provide my own container for types now that I could control
because of BS code reloading in rails, mostly (but comes with more benefits too)
Hannes Nevalainen
@kwando
+1 for that
I had rails reloading issues with the released version =/
Piotr Solnica
@solnic
yeah it’s broken :D
reminder: 0.0.1
Hannes Nevalainen
@kwando
I know, I know =)
Piotr Solnica
@solnic
predicates are the next step btw, then i’ll add form_input category with different coercion rules and mechanics, then finally dry-validator could leverage that
and THEN I’ll ditch AM in rom-model for validators
then it’ll be a great moment to put together rodakase and start writing my book, ugh, so much work