Open adamrodger opened 1 year ago
Those formats are different. As per the definition:
reify \RAY-uh-fye\ verb. : to consider or represent (something abstract) as a material or concrete thing : to give definite content and form to (a concept or idea)
What you are asking for is the opposite, an abstraction over the differences between V3 and V4, and pactffi_message_reify
is not the function to do that.
When you call
pactffi_message_reify
on a v3 of v4 pact you get a totally different schema back:v3:
v4:
This makes writing integrations in wrapper libraries much more difficult - I've now got to know which version of the interaction the user has set up in order to deserialise it properly to create the message inside consumer tests. I may need to release a breaking change of PactNet to support that, which I really want to avoid.