Objectify with Cloud Endpoints

后端 未结 4 809
暖寄归人
暖寄归人 2021-02-01 22:17

I am using appengine cloud endpoints and objectify. I have previously deployed these endpoints before and now I am updating them and it is not working with Objectify. I have m

4条回答
  •  庸人自扰
    2021-02-01 22:37

    Others already mentioned how to approach this with @ApiResourceProperty and @ApiTransformer. But I do need the key available in client-side, and I don't wanna transform the whole entity for every one. I tried replacing the Objectify Key with com.google.appengine.api.datastore.Key, and it looks like it worked just fine as well in my case, since the problem here is mainly due to that endpoint does not support parameterized types.

提交回复
热议问题