Skip to content

Handle BigInt safely in Inspectable.stringifyCircular#6467

Draft
coyaSONG wants to merge 1 commit into
Effect-TS:v3from
coyaSONG:fix/4662-inspectable-bigint
Draft

Handle BigInt safely in Inspectable.stringifyCircular#6467
coyaSONG wants to merge 1 commit into
Effect-TS:v3from
coyaSONG:fix/4662-inspectable-bigint

Conversation

@coyaSONG

Copy link
Copy Markdown
Contributor

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

  • Serialize bigint values encountered by Inspectable.stringifyCircular as their n-suffixed string representation instead of passing them to JSON.stringify unchanged.
  • Add a regression test covering a bigint nested in an object.
  • Add the required patch changeset for effect.

Related

Validation

  • pnpm test packages/effect/test/Inspectable.test.ts
  • pnpm lint-fix
  • pnpm check
  • pnpm build
  • pnpm docgen

AI assistance

The implementation and pull request text were prepared with OpenAI Codex. No human code review was performed before submission.

@github-project-automation github-project-automation Bot moved this to Discussion Ongoing in PR Backlog Jul 17, 2026
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a0fb802

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
effect Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@effect-bot effect-bot added the 3.0 Used for issues, pull requests, etc. that are relevant for the `v3` branch targeting Effect v3. label Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0 Used for issues, pull requests, etc. that are relevant for the `v3` branch targeting Effect v3.

Projects

Status: Discussion Ongoing

Development

Successfully merging this pull request may close these issues.

2 participants