Skip to content

A Cloudevent class per spec version #28

@fabiojose

Description

@fabiojose

Today we have just one cloudevent.js that makes the interface with Spec classes. This is ok with vanilla js, because of flexibility which exists in js programming we inject new methods we needed.

Now it's time to stabilize the things. We are reaching the v1.0 and some attribute names are getting stable, in special the required ones: id, source, specversion and type.

We need:

  • a base class with required attributes
  • a class that extends the base one and makes specializations with it's own attributes
  • every implementation MUST follow the immutable object philosophy

Metadata

Metadata

Assignees

Labels

type/enhancementNew feature or requestversion/1.xIssues related to version 1.x of this library

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions