Skip to content

Fix for BC break in goaop/framework#1

Open
JJCLane wants to merge 3 commits intotzkoshi:masterfrom
JJCLane:master
Open

Fix for BC break in goaop/framework#1
JJCLane wants to merge 3 commits intotzkoshi:masterfrom
JJCLane:master

Conversation

@JJCLane
Copy link

@JJCLane JJCLane commented Aug 13, 2025

As of goaop/framework@3b9c486 there is a BC break in the 4.0@dev version goaop/framework that this package has a dependency on.

This pull request updates the BeforeMockTransformer class to use the new TransformerResultEnum for transformer results, replacing the previous string constants.

Migration to enum-based transformer result:

  • Updated the transform method signature in BeforeMockTransformer to return TransformerResultEnum instead of a string, and replaced all usages of string result constants with their corresponding enum values. [1] [2]
  • Added the use Go\Instrument\Transformer\TransformerResultEnum; import to support the new enum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants