remondis-it / pact-consumer-builder

Library for generating pact consumer expectations from java beans
Apache License 2.0
14 stars 6 forks source link

Added "ignoreMissingValues" feature to ConsumerBuilder #19

Closed BenVercammen closed 4 years ago

BenVercammen commented 4 years ago

Added "ignoreMissingValues" feature to ConsumerBuilder in order to exclude fields without a value instead of failing to build a pact. This is useful when the consumer DTO contains more fields than the provider actually provides. Otherwise the consumer DTO can only have a subset of the provider's DTO.

schuettec commented 4 years ago

Version 0.1.1 is on its way to Maven Central. Thx again!