Does the Auto-generate matchers from struct tags d...
# pact-go
h
Does the Auto-generate matchers from struct tags documented here support injecting FromProviderState? I really like both of these features and opt to always use the Auto-generate, but in cases where I need to inject the provider state then I just go old school. Curious if this is supported and if not what would it take?
m
It does not at this stage
It could probably be added, but I think the struct tags would end up getting so complicated they would end up a first class language in themselves
You could take a look and propose an API though. I could imagine a
fromProviderState
component that would override the others perhaps?
👍🏽 1