Skip to content

[BUG]: bigint path parameters are removed #546

@jenseng

Description

@jenseng

What happened?

This is related to octokit/request.js#797

If you pass in a bigint value for a placeholder (e.g. POST /app/hook/deliveries/{delivery_id}/attempts), it gets stripped out of the resulting URL (/app/hook/deliveries//attempts). Since certain endpoints may expect large integers, octokit should handle them correctly

Versions

Octokit.js v7.0.6, Node.js v22.21.1

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documentedreleased

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions