Nick Sutterer
Nick Sutterer
Correction: the name _contract_ for Reform was wrong, it should've been _form_. :stuck_out_tongue_winking_eye:
Ah sorry, I meant the name `Contract` _in Trailblazer_ was wrong, because we use it for HTML forms, e.g. `Form::Build` is really only needed to render a form (because of...
Hi @van-mronov! The way you suggest your `New` and `Create` operations is correct. Please note that there will be a guide soon that explains this, TRB2 is not "officially" out...
Hey @van-mronov, we could need help with generators. They must be decoupled from Rails, using `thor` as a dependency, so we can reuse them for Hanami, etc. Are you interested...
I tried this in a poor attempt to have a `Result` object for evaluating steps. The "global" `Result` object could help "merging" them the way we do it in Reform....
But I like where this is going, @patcoll ! (Not the specifics and cluttering, but the idea of defining error structures :clap: )
Hi Matt, 1. Operations are the pivotal element in TRB architectures. An endpoint (aka controller) instantly delegates to an operation which orchestrates all business logic. It's up to you how/what...
Great discussion! :pray: 1. Actually, TRB is not meant to touch any Rails (except ActiveRecord, in case you're using that). It's exactly as you say: the application is mainly non-Rails,...
Oh, do you actually want to help out? I hear you're interested in the ins and outs contracts??? :stuck_out_tongue_closed_eyes: Happy to have a chat!
Actually yes, I myself will spend the next couple of weeks documenting! :grimacing: