Skip to content

[2.x] Remove string typehint from Transformer::transform() method - #118

Merged
duncanmcclean merged 1 commit into
mainfrom
transform-typehint
Oct 31, 2025
Merged

duncanmcclean merged 1 commit into
mainfrom
transform-typehint

Conversation

@duncanmcclean

Copy link
Copy Markdown
Member

This pull request removes the string typehint from the Transformer::transform() method.

If and when we add JSON support, we'll need to be able to pass arrays and integers to transformers (eg. an array of related entry IDs).

As it's a breaking change, I wanted to get this into 2.x so JSON Support doesn't need to happen alongside a major release.

@duncanmcclean

Copy link
Copy Markdown
Member Author

Failing tests are unrelated.

@duncanmcclean
duncanmcclean merged commit e3b0890 into main Oct 31, 2025
2 of 26 checks passed
@duncanmcclean
duncanmcclean deleted the transform-typehint branch October 31, 2025 14:55
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