Closed luckyQing closed 5 years ago
Hi,
Thanks, Daniil
For example, I want to mock an object, Req<BasePageReq<App<List<String>>>>,
it will show me an error.
I want to have the following features: `PodamFactory factory = new PodamFactoryImpl();
TypeReference typeReference = new TypeReference<Req<BasePageReq<App<List
In addition, if the value of the annotation like PodamStringValue
can support one randomly from array, it feels better.
For example, @PodamStringValue(value={"male", "female"})
it will show me an error
What kind of error?
Thanks, Daniil
Use custom TypeManufacturer instead of @PodamStringValue. People really avoid them, because it forces to add podam as dependency instead of test dependency.
Customizing TypeManufacturer is inconvenient. And it is more convenient to use annotations
It does not support this generic object, etc Req<BasePageReq<App<List>>>
Customizing TypeManufacturer is inconvenient. And it is more convenient to use annotations
You seems to be alone with that opinion so far.
It does not support this generic object, etc
Req<BasePageReq<App<List>>>
I need either code to reproduce the issue or at least Podam's log.
Thanks, Daniil
I have implemented the functionality I need based on your suggestions and can support multiple levels of nested generics. E.g:Req<BasePageReq<App<List<String>>>>
.Thank you.
Ok, not sure what was the problem, but it is great that you have fixed it.
Thanks, Daniil
Unsupported BigInteger、BigDecimal. etc PodamFactory factory = new PodamFactoryImpl(); BigInteger bigInteger = factory.manufacturePojoWithFullData(BigInteger.class);
Nested generics are not supported. etc List<BasePageResp>