Skip to content

Context attribute naming consistency #323

@JemDay

Description

@JemDay

In last weeks call a comment was made (Tim from AWS?) relating to the potential for renaming some of the context attributes; i thought it would make sense to raise it for discussion here prior to opening what would be quite a large PR.

The proposal (as i understand it) would be to rename along these lines:

Current Proposed
eventType type
cloudEventsVersion version
eventID id
eventTime time

An alternative argument might be to ensure all context attributes follow a consistent naming structure, eg :

Current Proposed
eventType eventType
source eventSource
data eventData

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions