Skip to content

Roadmap

Nick Sutterer edited this page Sep 6, 2016 · 5 revisions

Operation

result = Operation.(params: params, **)

auto_inject

Result Object

The operation in Trailblazer 1.2 returns a Result object that is compatible with dry-matcher.

result = Operation.(params: params, **)

Endpoint

Endpoints can be hooked to routes in the infrastructure framework (e.g. Rails or Hanami-router). The provide generic logic such as

  • HTTP status/redirect/bodys for document APIs (similar to responders work in Rails).
  • Serialize the outbound document using a configured representer (or serializer).
Clone this wiki locally