ReactiveCouchbase / ReactiveCouchbase-core

Core library for ReactiveCouchbase
Apache License 2.0
64 stars 28 forks source link

Handling non-string numeric Keys #37

Closed seancurtismlb closed 9 years ago

seancurtismlb commented 9 years ago

Hi

Is there a preferred way of querying a view that has a non-string value (for instance, timestamp) as part of the Key? right now it appears that all added objects from the ComplexKey.of( java.lang.Object...) get converted to strings, which causes no value to be returned (the quoted timestamp doesnt match on the numeric value)

If you leave the objects as their native type, say Long for timestamp (millis), you get an implicit error conversion. Anyone else see this?

mathieuancelin commented 9 years ago

Hi,

I'm not sure I exactly understand the issue.

Can you provide a code sample ?

mathieuancelin commented 9 years ago

Hi

any news on that one ?

seancurtismlb commented 9 years ago

Hi Mathieu,

We figured it out. Thanks for the response. We've just submitted a pull request, however, to ask if we can upgrade the underlying java client. we've run your tests and find no regression, and this helps us with a different issue.

Thanks for the response.

Sean