You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity
fabiojose commentedon Aug 8, 2019
@grant What do you think about this definition? May be would be better in ts?
grant commentedon Aug 8, 2019
Looks ok.
Would be much better with modern javascript (
class) or TypeScript.fabiojose commentedon Aug 8, 2019
@grant Would like to help us with these definitions?
grant commentedon Sep 30, 2019
@fabiojose Sent email to you to discuss more first.
lance commentedon May 9, 2020
Given how the repo has evolved since this issue has been opened, I suggest closing this. @grant @fabiojose WDYT?
fabiojose commentedon May 9, 2020
It's ok for me.
lance commentedon May 11, 2020
@fabiojose OK closing for now - as things progress we may revisit this, or not. :)