Say I want Property<Map<String, Foo<Bar>>>, this currently isn't easy with the API. Perhaps a better way would be to allow TypeOf, or some cartesian product of TypeOf/Class although I think for MapTypeOf, TypeOf would probably be fine since you could just do
Property<Map<String, Foo<Bar>>> fooBarMapProp = project.getObjects().mapProperty(new TypeOf<String>() {}, new TypeOf<Foo<Bar>>())
Current Behavior (optional)
No response
Context
I have a case where I want, or at least think I want to return a map that has values that have generics.
Expected Behavior
Say I want
Property<Map<String, Foo<Bar>>>
, this currently isn't easy with the API. Perhaps a better way would be to allowTypeOf
, or some cartesian product ofTypeOf
/Class
although I think forMap
TypeOf, TypeOf
would probably be fine since you could just doCurrent Behavior (optional)
No response
Context
I have a case where I want, or at least think I want to return a map that has values that have generics.