Based on a PR comment: #109 (comment)
If we think in typical DBs, the primary key is part of the object being saved. We don't think of these separately. If we define objects like this, then we don't have to pass in the key in save, but can derive it from the saved object.
Thinking more, it is just that one method - load, may_load, update and remove all require the full key in any case.
@maurolacy if you still like this idea, can you develop it more. Once I started to flesh it out, I think it doesn't really have much use.
Based on a PR comment: #109 (comment)
If we think in typical DBs, the primary key is part of the object being saved. We don't think of these separately. If we define objects like this, then we don't have to pass in the key in save, but can derive it from the saved object.
Thinking more, it is just that one method - load, may_load, update and remove all require the full key in any case.
@maurolacy if you still like this idea, can you develop it more. Once I started to flesh it out, I think it doesn't really have much use.