Skip to content

feat: add Candid dynamic method interface normalization#142

Merged
b3hr4d merged 4 commits intomainfrom
feat/candid-dynamic-registration
Apr 14, 2026
Merged

feat: add Candid dynamic method interface normalization#142
b3hr4d merged 4 commits intomainfrom
feat/candid-dynamic-registration

Conversation

@b3hr4d
Copy link
Copy Markdown
Collaborator

@b3hr4d b3hr4d commented Apr 14, 2026

Description

This PR implements normalizeCandidInterface to smoothly intercept and restructure AI-generated hybrid Candid formats, which often contain recursive type definitions attached directly over the method signature.

By pushing this up the stack directly into CandidReactor.registerMethod, this directly supports seamless interaction and execution via methods like queryDynamic and callDynamic.

Documentation has also been comprehensively updated to highlight these dynamic capabilities.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0824bbecc0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/candid/src/utils.ts Outdated
@b3hr4d b3hr4d merged commit e776851 into main Apr 14, 2026
9 checks passed
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