In our Golang api application, we use embedded struct. However, when we use pact-go it does not seem to support embedded structs. Is there a plan to support this in the near future?
srcType.Field.Anonymous allow differentiation between embedded and normal structs and could be used in pact matcher.go in func match(srcType reflect.Type, params params). JSON Marshal could serve as inspiration, see here: https://play.golang.org/p/PzncHdyUUL5
In our Golang api application, we use embedded struct. However, when we use pact-go it does not seem to support embedded structs. Is there a plan to support this in the near future?
srcType.Field.Anonymous allow differentiation between embedded and normal structs and could be used in pact matcher.go in func match(srcType reflect.Type, params params). JSON Marshal could serve as inspiration, see here: https://play.golang.org/p/PzncHdyUUL5