<div dir="ltr">Hi, <div><br></div><div>I&#39;ve done some work on [1] in regards to coming up with a common sync data format for our clients, but I and messed it up [2]. Long story short is that I did not take into account some of client languages features. So here is a new suggestion that will hopefully work with all our client languages:</div>
<div><br></div><div><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;white-space:pre-wrap">public interface SyncObject&lt;T, ID&gt; {</span></div><div><pre class="" style="font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;word-wrap:break-word;white-space:pre-wrap;padding-left:8px;color:rgb(51,51,51)">
    ID objectId();</pre><pre class="" style="font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;word-wrap:break-word;white-space:pre-wrap;padding-left:8px;color:rgb(51,51,51)">
    String revision();</pre><pre class="" style="font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;word-wrap:break-word;white-space:pre-wrap;padding-left:8px;color:rgb(51,51,51)">
    T content();</pre><pre class="" style="font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;word-wrap:break-word;white-space:pre-wrap;padding-left:8px;color:rgb(51,51,51)">
}</pre><pre class="" style="text-indent:0px;margin-top:0px;margin-bottom:0px;word-wrap:break-word;padding-left:8px"><br></pre></div><div>What do people think about this?</div><div><br></div><div><br></div><div>[1] <a href="https://issues.jboss.org/browse/AEROGEAR-1406">https://issues.jboss.org/browse/AEROGEAR-1406</a><br>
</div><div>[2] <a href="https://github.com/aerogear/aerogear.org/commit/5e81e5526b5850485eeb83a8ff7ddc1e4d6d2c40">https://github.com/aerogear/aerogear.org/commit/5e81e5526b5850485eeb83a8ff7ddc1e4d6d2c40</a></div><div><br>
</div></div>