Hey, I'm just working with the LambdaDSL and if i ...
# pact-jvm
m
Hey, I'm just working with the LambdaDSL and if i use a date it expects a java.util.Date and there is no option for a java.time.Localdate . Localdate has replaced Date in java 8 why did you design the new LambdaDSL without Localdate? Is it something that you will add in the lambdaDSL soon? We never use Date anymore in code and to convert Localdate to Date just for pacts, I'm not a fan for that.
u
why did you design the new LambdaDSL without Localdate?
I guess you are imagining that all the DSLs have been designed upfront, when actually they are from a sequence of PRs provided by different people over time. The original authors of that DSL did not need to use Localdate, so did not add support for it. If you can create a PR, when can get that merged pretty quickly.
m
Ok I'll look into doing that. You can transform Date and Localdate easy into eachother. Its just that we dont use Dates anyware anymore so it would be handy that the transformation is inside the Pactcode. Where can I create a PR?
u