Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

id/key semantics is not clear #103

Open
chbm opened this Issue · 1 comment

2 participants

@chbm

The semantics of the id property are not clear. As far as I can tell the current behavior is engine dependent and I couldn't find documentation or tests regarding the correct behavior of duplicate ids.
Some clarification would be good.

@Marak

Good catch.

The intended semantic is:

id should be the unique identifier of the document, relative to it's resource.

key should be a unique identifier across the entire database.

We've just implemented this in resourceful v0.3.0, so I would not be surprised if you there are still inconsistencies from previous versions.

Any pull requests to help fix this or improve test coverage around this area would be much appreciated.

Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.