-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fixes #884: unify JSON Object member reference to "property" (from "field" etc) #885
Conversation
@@ -61,9 +61,9 @@ public enum ErrorCode { | |||
|
|||
SHRED_BAD_EJSON_VALUE("Bad EJSON value"), | |||
|
|||
SHRED_BAD_VECTOR_SIZE("$vector field can't be empty"), | |||
SHRED_BAD_VECTOR_SIZE("$vector value can't be empty"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is more general reference (used from multiple places), cannot refer as "property", but that is implied by name $vector
-- hence "value".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR does:
Unifies terms used to refer to key/value pairs in JSON Document by using "property", over alternate names like "field"
Which issue(s) this PR fixes:
Fixes #884
Checklist