Skip to content

Conversation

@lance
Copy link
Member

@lance lance commented May 14, 2020

This commit pulls the constants up from the lib/bindings/http/constants.js
and exports them in the top level index.js. There are some elements of the API
where we expect users to provide constant values, and this makes it easier for
them to be sure the values they provide are what is expected.

I've also added two new constants: BINARY and STRUCTURED.

Signed-off-by: Lance Ball [email protected]

@lance lance added the type/enhancement New feature or request label May 14, 2020
@lance lance requested review from a team and fabiojose May 14, 2020 15:32
@lance lance self-assigned this May 14, 2020
@lance lance requested review from grant and helio-frota and removed request for a team May 14, 2020 15:32
This commit pulls the constants up from the lib/bindings/http/constants.js
and exports them in the top level index.js. There are some elements of the API
where we expect users to provide constant values, and this makes it easier for
them to be sure the values they provide are what is expected.

I've also added two new constants: `BINARY` and `STRUCTURED`.

Signed-off-by: Lance Ball <[email protected]>
@lance lance force-pushed the expose-constants branch from 87bfc19 to fa0435a Compare May 16, 2020 14:24
@lance lance mentioned this pull request May 18, 2020
@lance lance merged commit d836b06 into cloudevents:master May 18, 2020
@lance lance deleted the expose-constants branch May 18, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants