Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 07 14:03

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 10:01
    Travis dry-rb/dry-view (master) errored (636)
  • Dec 07 09:58
    Travis dry-rb/dry-view (master) errored (635)
  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:56

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:54

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:54

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:54

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:54

    dry-bot on master

    [devtools] config sync (compare)

  • Dec 07 09:54

    dry-bot on master

    [devtools] config sync (compare)

Tim Riley
@timriley
@gotar oh cool! So you've got it now?
@gotar yeah, I hope I can write some more stack-specific docs over the next 2 weeks. And my blog posts... Well, they'll get there eventually. They have a plodding pace :)
Oskar Szrajer
@gotar
I manage it somehow but not happy how ;]
Tim Riley
@timriley
Hah, so have you had to use a hack or something? Or it just took longer than you hoped to get to the solution?
because ROM::Relation do not works with basic one - Container::Inject
or hack root for rom::repo, to have base class to limit code repetition, like: https://github.com/gotar/dry-web-skeleton/blob/master/lib/persistence/repo/base.rb#L15
probably other places too, like class around dry-v schema to make it AutoInjectable
Oskar Szrajer
@gotar
if you guys have time, any comments welcome, trying to build as simple skeleton as possibe. Your @timriley is great but to complex to just teach/explain/show different dry-web pieces
Piotr Solnica
@solnic
I'd call dry-web stuff as a pretty advanced thingie (at least for now)
so it's gonna be tough to explain to people who mostly know rails
Oskar Szrajer
@gotar
yeap i will try 3-4h workshops for good devs but rails ways devs
we will see
I already told them something about roda and rom, but they never wrote any app outside rails
then I plan to write some basic roda + rom app, and then go deeper and deeper inside container, auto-inject ...
we will see
Piotr Solnica
@solnic
it's gonna be interesting for sure :D
hanami will be a much much better "entry point" for people, I think
Oskar Szrajer
@gotar
the goal is not to teach dry-w, but maybe someone will pick roda or rom or dry-container for next project
Piotr Solnica
@solnic
yeah defo lots of interesting stuff to learn for people
Oskar Szrajer
@gotar
yeap but it;s special event for *RUG, on TRUGs for last 1-2y I try to explain rom and roda, and they ask for a workshops to sit together and write app in those technologies to learn
hard for them to force themself to try at home
then will will try this way, evangelistaion all the time ;]
ok time to sleep, bye and thx for great support as always :)
Piotr Solnica
@solnic
sure that's a really awesome initiative, thanks for doing that :)
:wave:
Tim Riley
@timriley
@gotar this sounds great, nice work!
What you are doing with that AutoInject hack is actually a lot nicer with dry-component's injector. But I'll see if we can improve the base AutoInject too
With dry-component you can just switch strategies ad-hoc
e.g. include MyComponent::Inject.args["foo"]
Piotr Solnica
@solnic
:heart_eyes:
Tim Riley
@timriley
MyComponent::Inject.args.hash.kwargs.args[“foo”] if you really want
;)
I’ll add an issue to remind me to do that to dry-auto_inject directly
And I’ll release dry-component today :)
@gotar I think I have a fix for your repo issue
And changed class Posts to be class Posts < Base[:posts]
and change class Base to be class Base < ROM::Repository::Root
Piotr Solnica
@solnic
@timriley did you figure out that complex stuff with lazy-booting components on demand?
Tim Riley
@timriley
@solnic Indeed I did.
Piotr Solnica
@solnic
:scream_cat:
Oskar Szrajer
@gotar
Hmm I will try tmr for sure. Thx for advice.
Tim Riley
@timriley
Well, I think I did, @solnic! haha
Piotr Solnica
@solnic
can't wait to try this stuff out
but that has to wait until rom is out with dry-v/t/l upgrades
Tim Riley
@timriley
:)
Piotr Solnica
@solnic
:zzz: time :wave:
Tim Riley
@timriley
:wave: