Skip to content

Missing default kind when using eventdefBuilder #91

@JBBianchi

Description

@JBBianchi

What happened:
eventdefBuilder.build() doesn't assign a default kind to the returned eventdef.

What you expected to happen:
The returned eventdef should have the kind consumed is none is supplied

How to reproduce it:

const eventDef= eventdefBuilder().build();
console.log(eventDef.kind);

Anything else we need to know?:
Will be fixed in an upcoming PR

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions