Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataplane: Spec - Update NoData to allow for no frames #568

Merged
merged 1 commit into from Nov 30, 2022

Conversation

kylebrandt
Copy link
Contributor

Stating the no frames (e.g. "A": Frames: []) is valid for "NoData", but the single frame form is preferable in most cases.

Adding this because I think it is likely what a fair amount of datasources already do, and if there is no metadata to add then nothing is added by adding the frame.

But open to arguments against since this adds more variation for readers.

@kylebrandt kylebrandt added documentation Improvements or additions to documentation area/dataplane Dataplane Project (Data type contract) labels Nov 22, 2022
@kylebrandt kylebrandt requested a review from a team as a code owner November 22, 2022 13:24
@kylebrandt kylebrandt requested review from wbrowne and marefr and removed request for a team November 22, 2022 13:24
Copy link
Member

@toddtreece toddtreece left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likely what a fair amount of datasources already do

should the contract also describe the state of support in consumers for things like No Data?

@kylebrandt kylebrandt merged commit 9f806a2 into main Nov 30, 2022
@kylebrandt kylebrandt deleted the contractNoData branch November 30, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dataplane Dataplane Project (Data type contract) documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants