Skip to content

Fix for BC break in goaop/framework #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JJCLane
Copy link

@JJCLane JJCLane commented Aug 12, 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.

1 participant