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

Render duration and port as JSON strings #1034

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

dominiklohmann
Copy link
Member

This a) avoids loss of information and b) makes it such that the user can directly use the output value in another query.

This a) avoids loss of information and b) makes it such that the user
can directly use the output value in another query.
@dominiklohmann dominiklohmann force-pushed the story/ch19098/duration-port-presentation branch from df937bc to 2ec3566 Compare August 28, 2020 11:36
Comment on lines -82 to -84
// TODO: convert() generates a string, while our unit tests expect a
// number. Eventually, we're probably going to drop the protocol
// part but convert() and print() should be consistent regardless.
Copy link
Member Author

Choose a reason for hiding this comment

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

Note for the reviewer: convert() has been able to convert strings to duration/port for a while now.

Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

Let's merge this now, even though the port type will eventually be removed.

@dominiklohmann dominiklohmann merged commit aed47ca into master Sep 1, 2020
@dominiklohmann dominiklohmann deleted the story/ch19098/duration-port-presentation branch September 1, 2020 19:20
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