Skip to content

Conversation

frosimanuel
Copy link

@frosimanuel frosimanuel commented Dec 9, 2024

the dfx.json proposes a list of cannisters, so if you don't specify which canister you refeer you won't be able to pass the argument as you'll get the following error: Error: The init argument can only be set when deploying a single canister.

Overview
Why do we need this feature? What are we trying to accomplish?
Just correcting documentation so that beginners doesn't have to fix the error.

Requirements
What requirements are necessary to consider this problem solved?
it's a simple solve

Considered Solutions
What solutions were considered?
this solves it

Recommended Solution
What solution are you recommending? Why?
just a little change on documentaiton won't break anything

Considerations
What impact will this change have on security, performance, users (e.g. breaking changes) or the team (e.g. maintenance costs)?
none

the dfx.json proposes a list of cannisters, so if you don't specify which canister you refeer you won't be able to pass the argument as you'll get the following error:
Error: The init argument can only be set when deploying a single canister.
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.

1 participant