Skip to content

Consider refactoring Cloudevent.format() #88

Closed

Description

@lance

Based on some discussion in this pull request there are some improvements that could be made to the Cloudevent.format() function.

  • Consider optimizing so that JSON.parse doesn't require several levels of indirection to get to.
  • Expose a way to retrieve the data in multiple formats
  • Consider moving the sanity checks into the spec instance and not in Cloudevent itself.

Activity

  1. self-assigned this
    on May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions