qickrooms / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
0 stars 0 forks source link

Omit "indexed":false for List<> property #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When storing a List<>, such as

    private List<Long> userIds = new ArrayList<>();

objectify creates a "fake" index for the list:

    [{"integerValue":"2837482934789","indexed":false}]

It would make sense to only store indexed=true, but omit indexed=false, as can 
be done for @Index(IfTrue.class) as well.

[Or does the "indexed" property come from ArrayList somehow and this is outside 
of your control?]

Original issue reported on code.google.com by oliver.h...@gmail.com on 2 Apr 2015 at 3:06

GoogleCodeExporter commented 9 years ago
Objectify does not create any such thing. Where are you seeing this?

Original comment by lhori...@gmail.com on 2 Apr 2015 at 4:12

GoogleCodeExporter commented 9 years ago
see #233

Original comment by oliver.h...@gmail.com on 2 Apr 2015 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by lhori...@gmail.com on 2 Apr 2015 at 9:17