Skip to content

Added Emitter.emitShape API to enable the shape to be customised#14

Open
eug48 wants to merge 1 commit intojvilk:masterfrom
eug48:emitShape-API
Open

Added Emitter.emitShape API to enable the shape to be customised#14
eug48 wants to merge 1 commit intojvilk:masterfrom
eug48:emitShape-API

Conversation

@eug48
Copy link
Contributor

@eug48 eug48 commented Oct 8, 2018

This adds an API so that the Shape can generated by the caller using d2s and then customised prior to being emitted. For example, one can mark all fields as nullable without having to have a nullable example for each field in the dataset.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 94.318% when pulling d636fdd on eug48:emitShape-API into 9d57d7b on jvilk:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants