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
Essentially all methods on that class whose parameter names are innerType, keyType, valueType should have an overload that accepts Type. For example: right now it's not possible to create a List<Map<String, Integer>> through fixture.collections().createCollection(List.class, Map.class), because the innerType is not enough to know if it needs to create the strings and ints inside. As a workaround we can use fixture.create(new SpecimenType<List<Map<String, Integer>>>(){}), but notice for example that in this case we can't specify the size of the collection.
The text was updated successfully, but these errors were encountered:
Essentially all methods on that class whose parameter names are
innerType
,keyType
,valueType
should have an overload that acceptsType
. For example: right now it's not possible to create aList<Map<String, Integer>>
throughfixture.collections().createCollection(List.class, Map.class)
, because theinnerType
is not enough to know if it needs to create the strings and ints inside. As a workaround we can usefixture.create(new SpecimenType<List<Map<String, Integer>>>(){})
, but notice for example that in this case we can't specify the size of the collection.The text was updated successfully, but these errors were encountered: