-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Though Iterable<T> and Map<?, T> (whereas T is not primitive type) are supported, Iterable<String> (e.g. List<String>) and Map<?, String> are not supported.
Supporting all implementations of Iterable<T> and Map<K, V>, is not possible. I suggest we only support types which JPA is supporting which are:
Iterables: ArrayList, Vector, Stack, LinkedList, ArrayDeque, PriorityQueue, HashSet, LinkedHashSet, TreeSet.
Maps: HashMap, Hashtable, WeakHashMap, IdentityHashMap, LinkedHashMap, TreeMap and Properties.
We should also support array of strings.
After implementing this feature we would be able to use Hiss in this manner:
@Encrypted
List<String> list = new ArrayList<>();
@Encrypted
Map<String, String> map = new HashMap<>();
@Encrypted
String[] strings = new String[]{};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request