pact-specification icon indicating copy to clipboard operation
pact-specification copied to clipboard

Option to check for no undeclared fields

Open maximvl opened this issue 3 years ago • 3 comments

Hello, as I understand currently Pact only checks for fields declared in the contract and allows any number of other fields. I would like to have an option to do a 'strict' check so that no undeclared fields are allowed, in my case for a privacy & security reasons.

Do you think it makes sense to have this feature? Maybe you already discussed something like this? Thanks!

maximvl avatar Jan 20 '21 12:01 maximvl