google-code-export / objectify-appengine

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

@Serialize should override @Embed #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you put @Embed on an entity in 4.0rc1, it's not possible to store this 
entity @Serialize(d) in another entity. 

And Entity can fullfill both the serialize and the embed requirements and thus 
also should be able to use both versions without chaning the class.

I propose that @Serialize on class fields overwrites @Embed (which is put on 
the class itself), so you can use both.

Original issue reported on code.google.com by aurelian...@gmail.com on 2 Sep 2013 at 9:49

GoogleCodeExporter commented 9 years ago
This should now work as advertised.

Original comment by lhori...@gmail.com on 14 Apr 2014 at 1:13

GoogleCodeExporter commented 9 years ago
Very nice, thank you!

Original comment by aurelian...@gmail.com on 30 Apr 2014 at 10:14