Hi, your expectation is totally right. This is a bug in the java-driver.
I will fix it for version 4.1.10, which should be released within the next 
week.

Thank you and regards,
Mark

Am Mittwoch, 15. Februar 2017 18:35:45 UTC+1 schrieb Vasco Veloso:
>
> Hello,
>
> If I have a compound document such as:
>
> {
>   "state": {
>     "on": "true"
>   },
>   "reading": "1"
> }
>
> And I serialize its corresponding Java POJO specifying an additional 
> attribute, say, "test" as "no", the stored document as of 4.1.9 will be:
>
> {
>   "state": {
>     "test": "no",
>     "on": "true"
>   },
>   "reading": "1"
> }
>
> I would expect the stored document to be:
>
> {
>   "state": {
>     "on": "true"
>   }
>   "reading": "1",
>   "test": "no"
> }
>
> Can you confirm whether my expectations are aligned with the semantics of 
> the additional attributes feature as exposed by the Java driver? The 
> Javadoc does not help in this matter.
>
> Thank you!
>
> Regards,
>
> Vasco Veloso
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to