Skip to content

fix: add missing addIssue to transform context#5699

Open
F-A-N-D-E wants to merge 1 commit intocolinhacks:mainfrom
F-A-N-D-E:fix/issue-5678
Open

fix: add missing addIssue to transform context#5699
F-A-N-D-E wants to merge 1 commit intocolinhacks:mainfrom
F-A-N-D-E:fix/issue-5678

Conversation

@F-A-N-D-E
Copy link

This PR adds the missing addIssue method to the transform callback context, resolving the issue where manual issue reporting was unavailable in transformations.

Closes #5678

Copy link
Contributor

@pullfrog pullfrog bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. This is a correct fix—the runtime already provides addIssue on the transform context (see lines 1787–1801 in schemas.ts), but the type signature was missing it. The test validates both the type and runtime behavior.

Pullfrog  | View workflow runpullfrog.com𝕏

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.

transform callback ctx.addIssue not in Typescript

1 participant