Minor Sync Documentation Issue

Posted on

In the cloud api docs, for setRecordHashFn and setGlobalHashFn, the "returns" sections specify the return value of the generateHash function argument, but it's specified at the level which implies that it's what the actual function (ie: setRecordHashFn) returns. For instance, "returns" is in section 10.25.3, but it's part of the parameters, and I think it should be part of 10.25.2.2.

Also, it's not clear what type of data these hash functions should return. Strings? Numbers? Can I return an object? (I assume sync uses === to compare hashes but it's not stated anywhere.)

https://access.redhat.com/documentation/en-us/red_hat_mobile_application_platform_hosted/3/html/cloud_api/fh-sync#fh-sync-setrecordhashfn

Responses