Skip to content

Remove operation dependency #45

@apotonick

Description

@apotonick

The dependency to trailblazer-operation is not necessary. Steps to remove it

  1. Deprecate Result objects in all Policy() classes. I don't think anyone uses it. Use Activity::Deprecate.warn for the actual warning https://trailblazer.to/2.1/docs/internals#internals-core-developer-deprecate
  2. Convert all tests from Operation to Activity::Railway and autoconvert.
  3. Use <%= code_tabs %> for docs to show both versions. https://trailblazer.to/2.1/docs/internals#internals-core-developer-convert-operation-test

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions