ApiResourceProperty tag can not be compiled to GWT or ignored

We have a GWT app that exposes an API using Google Cloud Endpoints. As we use objectify we can not expose the Key tag to the API. For that we use the ApiResourceProperty in order to make the API ignore the field, but if we do that the GWT compilation fails.

I have tried everything, from using the exclude from source in the gwt.xml to using the @gwtincompatible

So... is there a way to ignore the ApiResourceProperty.class in the GWT compilation?

Any other idea? If not I would have to duplicate my entities for the API

Thanks in advance

Answers


The only option I had was to create custom DTOs for the API.


Need Your Help

jQuery function clear form and set back to onLoad status

jquery forms function windows-explorer

For my jq driven form I am looking for a function that clears my form and set it back to the original stage as it was on page load but without refreshing the entire page. I use placeholder text and I

How do I use custom member properties for people on my .NET website

asp.net sql login member

I am trying to make an asp.net website using Visual web dev and C# that accesses data in an SQL database. For my site, I need to be able to save and access additional user properties such as age and