Skip to content

Conversation

@duncanmcclean
Copy link
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
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.

2 participants