You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this moment the Lambda DSL only supports Date's. From Java 7 and higher it is recommended to use LocalDate. You can convert LocalDate to Date but to do that every time isnt that pritty. Can this be added to the Lambda DSL?
It Can be as easy as:
public LambdaDslObject date(String name, String format, LocalDate example) { object.date(name, format, Date.from(example)); return this; }
but it can also be added in the PactDslJsonBody that there is a LocalDate attribute. Depends on how you want to add it
The text was updated successfully, but these errors were encountered:
At this moment the Lambda DSL only supports Date's. From Java 7 and higher it is recommended to use LocalDate. You can convert LocalDate to Date but to do that every time isnt that pritty. Can this be added to the Lambda DSL?
It Can be as easy as:
public LambdaDslObject date(String name, String format, LocalDate example) { object.date(name, format, Date.from(example)); return this; }
but it can also be added in the PactDslJsonBody that there is a LocalDate attribute. Depends on how you want to add it
The text was updated successfully, but these errors were encountered: