Skip to content
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

Fix/issue 1133 remove AnyTemplate #1143

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Conversation

mefellows
Copy link
Member

This change removes the remaining AnyTemplate references from previous parts of the code base, excluding the original HTTP DSL (as this is old and stable, and most users would be using PactV3 or greater).

It is a widening of the types, so is technically backwards compatible on method inputs, however some exported types may be used outside of Pact and the widening from AnyTemplate to unknown might require type casting (as unknown is not iterable, for instance). This is preferable to the current situation however, which is breaking the message pact interface (#1133) and also - as described in #1061 - misleading.

@mefellows mefellows changed the title Fix/issue 1133 remove anytemplate Fix/issue 1133 remove AnyTemplate Dec 20, 2023
@mefellows mefellows merged commit 39ed445 into master Dec 21, 2023
20 of 26 checks passed
@mefellows mefellows deleted the fix/issue-1133-remove-anytemplate branch December 21, 2023 05:05
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