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

chore(candid-utils): Factor out Candid pretty printing function #3572

Merged
merged 5 commits into from
Jan 23, 2025

Conversation

aterga
Copy link
Contributor

@aterga aterga commented Jan 22, 2025

This PR moves Candid pretty printing into a separate function printing::pretty, adding a few unit tests to specify its expected behavior.

This function will be used in a new crate that will be added in a follow-up PR.

< Previous PR | Next PR >

@github-actions github-actions bot added the chore label Jan 22, 2025
@aterga aterga marked this pull request as ready for review January 22, 2025 17:26
@aterga aterga requested a review from a team as a code owner January 22, 2025 17:26
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

If this pull request affects the behavior of any canister owned by
the Governance team, remember to update the corresponding
unreleased_changes.md file(s).

To acknowldge this reminder (and unblock the PR), dismiss this
code review by going to the bottom of the pull request page, and
supply one of the following reasons:

  1. Done.

  2. No canister behavior changes.

rs/nervous_system/candid_utils/src/printing.rs Outdated Show resolved Hide resolved
rs/nervous_system/candid_utils/src/printing.rs Outdated Show resolved Hide resolved
rs/nervous_system/candid_utils/src/printing.rs Outdated Show resolved Hide resolved
rs/nervous_system/candid_utils/src/printing.rs Outdated Show resolved Hide resolved
rs/nervous_system/candid_utils/src/printing/tests.rs Outdated Show resolved Hide resolved
rs/nervous_system/candid_utils/src/printing/tests.rs Outdated Show resolved Hide resolved
rs/nervous_system/candid_utils/src/printing/tests.rs Outdated Show resolved Hide resolved
@aterga aterga added this pull request to the merge queue Jan 23, 2025
Merged via the queue into master with commit 850e959 Jan 23, 2025
25 checks passed
@aterga aterga deleted the arshavir/add-candid-pretty-printing branch January 23, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants