Skip to content
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

Changes snake cased fields to camel casing #222

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

xibz
Copy link
Contributor

@xibz xibz commented May 11, 2024

This commit improves consistency in our spec and examples by having all
keys be camel cased.

This made 4 changes:
chain_id -> chainId
context_id -> contextId
link_kind -> linkKind
link_type -> linkType

Signed-off-by: xibz [email protected]

@xibz xibz requested a review from a team as a code owner May 11, 2024 20:30
@xibz
Copy link
Contributor Author

xibz commented May 11, 2024

Cherry pick from #206

Copy link
Contributor

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @xibz - this looks mostly good to me.

I think it would be good to merge it after #220 which introduces schema validation and enables CI on branches, so that we get better testing for this one.

The other bit is that we don't usually start -draft releases for patch releases. The normal process is that we just bump the patch version by one.

However, since we have a few PRs to merge for the next v0.4.x release, my proposal would be that we don't change the spec version in any of the PRs.
Once everything we need is merged I'll make a PR that updates the spec version to v0.4.1 (see my comments in #220).

@afrittoli afrittoli mentioned this pull request May 13, 2024
@afrittoli afrittoli added this to the v0.4 milestone May 14, 2024
This commit improves consistency in our spec and examples by having all
keys be camel cased.

This made 4 changes:
chain_id -> chainId
context_id -> contextId
link_kind -> linkKind
link_type -> linkType

Signed-off-by: xibz <[email protected]>
Copy link
Contributor

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@afrittoli afrittoli merged commit 21941a1 into cdevents:spec-v0.4 May 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants