Idea: prod pact. A bit of middleware that will log...
# general
t
Idea: prod pact. A bit of middleware that will log if you're about to send a request or a response that doesn't match any pact interaction
💯 1
💡 1
m
Haha it's on the backlog! Runtime violations is what we've been calling it internally, but it can go further. E.g. Missing interactions could show up in the broker as test cases that need coverage, frequency/importance of certain interactions etc. Lots of ways to get the data too. Middleware, log files, eBPF etc.
I'll consider this a form of validation of the idea 🤣
🎉 2
t
You'd need to use matchers on the request in order to get some of the features there
but it's a small cost
it would be super easy if there was a system of recursive matchers 🤔 😎
😆 1
m
Problems for future us to worry about. Don't let implementation get in the way of fun ideas 😉