We are getting too much issues related to that I regret this feature.
And you have to understand something quite important. RavenDB does NOT support non string identifiers.
We are getting too much issues related to that I regret this feature.Now things become clearer :-) So you'd like to withdraw support for int/guid? - just make it all strings?
Maybe a nice compromise would be to not support tag-based prefixes in combination with non-string-identifiers - what I mean is, a non-string-identifier would then be THE key - not just the last "segment" of it...
But again, currently the only place where non-string identifiers are restricted to ValueType is IDocumentSession.Load - all other places support reference types as well. So how does that simplify things drastically?
And you have to understand something quite important. RavenDB does NOT support non string identifiers.I think I understand that. I didn't say RavenDB, I said Raven; and for me, Raven is everything that matches ´StartsWith("Raven.")´ :-) - including the client api.
inlineOn Fri, Jun 1, 2012 at 12:14 AM, Lars Corneliussen <m...@lcorneliussen.de> wrote:
We are getting too much issues related to that I regret this feature.Now things become clearer :-) So you'd like to withdraw support for int/guid? - just make it all strings?Actually, the one place I would keep it is in the session API, elsewhere, I don't like it.That said, it is useful in porting projects, so it probably would be there anyway.
Maybe a nice compromise would be to not support tag-based prefixes in combination with non-string-identifiers - what I mean is, a non-string-identifier would then be THE key - not just the last "segment" of it...Meaningless in RavenDB. A user document with the key 1 and a customer document with the key 1 would overwrite one another.
But again, currently the only place where non-string identifiers are restricted to ValueType is IDocumentSession.Load - all other places support reference types as well. So how does that simplify things drastically?Those are that way simply because it is harder to restrict, and king of pointless, too.
And you have to understand something quite important. RavenDB does NOT support non string identifiers.I think I understand that. I didn't say RavenDB, I said Raven; and for me, Raven is everything that matches ´StartsWith("Raven.")´ :-) - including the client api.Doesn't matter, the Client API can do a lot, but in the end, it is the server that rules.