-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disambiguate the meaning of _id
#72
Comments
We have this terminology: Record ID ( The In the realm of the JS SDK, I think the recommended approach is to get Record ID information from You are having problem because you are unable to pass a |
This should be handled in #73 |
When
_id
is included as a property of theattrs
ofRecord
constructor, it is expected to be a typed id, i.e.my_table_name/some-id
After the record instance is constructed,
_id
is typeless id, i.e.some-id
.It is very confusing. It would be better to support
id
as one of the property ofattrs
which is interpreted as typed id. The new constructor must issue deprecation warning for users who still use_id
for the constructor. Then_id
will always mean typeless id.The text was updated successfully, but these errors were encountered: