Skip to content

codegen fix: destructure generateAppProofs out of ...rest - #1462

Open
besler613 wants to merge 1 commit into
mainfrom
brianesler/codegen-destructure-generateAppProofs
Open

codegen fix: destructure generateAppProofs out of ...rest#1462
besler613 wants to merge 1 commit into
mainfrom
brianesler/codegen-destructure-generateAppProofs

Conversation

@besler613

Copy link
Copy Markdown
Contributor

Summary & Motivation

This PR corrects a bug in the codegen across all three packages. Specifically:

  • Bug: Activity codegen put generateAppProofs into parameters via ...rest/...parameters even though it belongs only at the top level of the request.
  • Fix: The generators now destructure generateAppProofs separately before building parameters, and pass it only as a top-level field on the wire request (including stamp methods).

How I Tested These Changes

  • Codegen works properly for this PR, which is based off this branch

Did you add a changeset?

N/A

@besler613
besler613 marked this pull request as ready for review August 3, 2026 17:08
@codesandbox-ci

codesandbox-ci Bot commented Aug 3, 2026

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f2ab084:

Sandbox Source
@turnkey/example-react-components Configuration

@besler613 besler613 changed the title destructure generateAppProofs out of ...rest instead of reading it se… codegen fix: destructure generateAppProofs out of ...rest Aug 3, 2026
@besler613
besler613 force-pushed the brianesler/codegen-destructure-generateAppProofs branch from 6ab48c0 to f2ab084 Compare August 3, 2026 18:29
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.

1 participant