allow alternative inputs in workflow #35

Closed
opened 2025-02-11 20:52:23 +00:00 by ryan · 2 comments
Owner
name: generate-wallet
inputs:
- type: either
  keys:
  - authorization_address
  - pubkey
```yaml name: generate-wallet inputs: - type: either keys: - authorization_address - pubkey ```
Author
Owner

this would help loading inputs for icepick workflow sol generate-nonce-account, since it expects authorization_address, but icepick workflow sol generate-wallet gives pubkey.

this would help loading inputs for `icepick workflow sol generate-nonce-account`, since it expects `authorization_address`, but `icepick workflow sol generate-wallet` gives `pubkey`.
ryan added this to the Custody Framework project 2025-02-17 08:46:22 +00:00
ryan added this to the Icepick v0.2.0 milestone 2025-02-17 08:46:24 +00:00
ryan self-assigned this 2025-02-17 08:46:28 +00:00
Author
Owner

Implemented. Instead of - type: either, we instead have added the aliases: field. That way, it doesn't have to be an enum. Avoids complexity.

Implemented. Instead of `- type: either`, we instead have added the `aliases:` field. That way, it doesn't have to be an enum. Avoids complexity.
ryan closed this issue 2025-02-18 07:10:12 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/icepick#35
No description provided.