-
Notifications
You must be signed in to change notification settings - Fork 59
Update schema data model #31
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
Update schema data model #31
Conversation
pub name: String, | ||
pub version: String, | ||
#[serde(rename = "attrNames")] |
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.
Let's wait with this one for a bit maybe. I know I created an issue to change it. But as all models are coming out to use camelCase, I think we should just jeep using camelCase here and minimize changes.
Thoughts?
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.
I am fine with either. I think a definitive decision would be very valuable here.
@swcurran I might have missed some of the on going discussions surrounding the spec, but is there a decision made around the anoncreds objects and which casing they use? I think I have a slight preference for snake case, but without any good reason, so either is good in my opinion. (if this needs further discussion, and there is no issue open already, I would not mind creating one).
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.
The reason I'm leaning to keeping it camelCase is that anoncreds objects already mostly use camelCase. The records that are registered on the indy ledger are using snake_case in some places however.
So my opinion would be to go with camelCase
06d485a
to
5b19944
Compare
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, expect that I would like to keep the attr_names as camelCase for now. I just opened a Pr in the spec today to update it to camelCase
If the discussion ends up we will use snake_case for everything then we can address in a separate PR |
Work funded by the Government of Ontario. Signed-off-by: blu3beri <[email protected]>
38b4e5f
to
06f2e2d
Compare
Dependent on #23, #27 and #30
closes #10
Work funded by the Government of Ontario.