Skip to content

Feat: Add Undef sentinel for undefined CIDs - #85

Merged
acul71 merged 1 commit into
masterfrom
fix-68-undef-sentinel
Sep 7, 2026
Merged

acul71 merged 1 commit into
masterfrom
fix-68-undef-sentinel

Conversation

@acul71

@acul71 acul71 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add _UndefCID / Undef singleton matching go-cid Undef (defined() / falsy / hashable)
  • Export Undef, document usage, add tests and 68.feature newsfragment

Closes #68

Test plan

  • make pr
  • make check-docs-ci
  • GitHub CI green on PR head

Made with Cursor

Provide a go-cid-compatible Undef singleton with defined() False so
callers can avoid using None and losing CID type information.

Co-authored-by: Cursor <cursoragent@cursor.com>
@acul71
acul71 merged commit ac8a386 into master Sep 7, 2026
24 checks passed
@acul71
acul71 deleted the fix-68-undef-sentinel branch September 7, 2026 17:58
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.

No Undef sentinel for representing nil/undefined CIDs

1 participant