feroult / yawp

Kotlin/Java API framework for Google Appengine
http://yawp.io
MIT License
132 stars 20 forks source link

@Id(shuffle=true) for previously created Ids #97

Open feroult opened 8 years ago

feroult commented 8 years ago

If an entity id was created before we set the flag shuffle at the @Id annotation to true, yawp won't be able to unshuffle its id properly (because it is not shuffled).

One possible solution is to mark the entity that it has a shuffled id and only unshuffle if this mark is present.