ipld / ipld/js-dag-ucan

`att` can be an empty array

Open
#56 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
30
Forks
6
PR merge metrics
No merged PRs in 30d

Description

With the latest changes we are using `type Tuple = [T, ...T[]]` for Capabilities which forces att to have at least one element but att can be an empty array.

What should we do here ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Capabilities definition and the Tuple type referenced in the issue, then inspect the existing type checks or tests for att. Confirm how an empty att array is represented and determine the intended type behavior; done means the type definition and coverage accept the valid empty case without weakening unrelated constraints.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.