We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Giving the following code
@PactDslBodyBuilder public class DemoClass { private Map<String, String> aMap1; }
It generates
public class DemoClassBuilder { java.util.Map<java.lang.String,java.lang.String> aMap1 = List.of("O99o0v"); ; public DemoClassBuilder setAMap1(final java.util.Map<java.lang.String,java.lang.String> aMap1) { this.aMap1 = aMap1; return this; } public DslPart build() { PactDslJsonBody pactDslJsonBody = new PactDslJsonBody(); pactDslJsonBody.eachLike("aMap1", PactDslJsonRootValue .stringType("RL3xuvc1he") .stringType("O99o0v") , 1); return pactDslJsonBody; } private static void applyCustomModifiers(PactDslJsonBody pactDslJsonBody) throws ClassNotFoundException, InstantiationException, IllegalAccessException { } }
Should be a Map.of instead of List.of
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Giving the following code
It generates
Should be a Map.of instead of List.of
The text was updated successfully, but these errors were encountered: