Skip to content

refactor: remove output_idl_path from <type>CanisterInfo types - #3828

Merged
13 commits merged into
masterfrom
ens/poc-unify-output-idl-path
Jul 15, 2024
Merged

refactor: remove output_idl_path from <type>CanisterInfo types#3828
13 commits merged into
masterfrom
ens/poc-unify-output-idl-path

Conversation

@ghost

@ghost ghost commented Jul 12, 2024

Copy link
Copy Markdown

Description

Add CanisterInfo.output_idl_path and remove it from MotokoCanisterInfo, RustCanisterInfo, and so forth, and remove CustomBuilderExtra.candid.

Changed the return type of CanisterInfo.get_output_idl_path() from Option<PathBuf> to &Path since it is guaranteed to be set.

The motivation is to move in the direction of removing all of the *CanisterInfo types, instead having properties on CanisterInfo.

How Has This Been Tested?

Covered by existing e2e tests

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@ghost
ghost self-requested a review as a code owner July 12, 2024 21:40
@ghost
ghost merged commit 349d547 into master Jul 15, 2024
@ghost
ghost deleted the ens/poc-unify-output-idl-path branch July 15, 2024 14:54
This pull request was closed.
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.

1 participant