remondis-it / pact-consumer-builder

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

Map type of Variable inside a Non-JAVA Type Bean #27

Closed kingshuknandy2016 closed 3 years ago

kingshuknandy2016 commented 4 years ago

Have seen that, ConsumerExpects.type(JavaTypeBean.class) can handle any type of variables. like another object, or String, or int or List. But is there a way to handle Map type of Variable inside the JavaTypeBean.class. Please help

schuettec commented 4 years ago

Sorry Maps are currently not supported. You can translate a map manually by adding a specific field configuration. Maybe we support Maps in the future.