Skip to content

feat: Improve napi header support further #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Qard
Copy link
Member

@Qard Qard commented Jun 23, 2025

Cross-crate napi has some correctness issues. I've restructured this a bit to keep the header flexibility changes entirely within the php_node crate. It also makes use of the napi Either type, which simplifies things further.

@Qard Qard self-assigned this Jun 23, 2025
@Qard Qard added the enhancement New feature or request label Jun 23, 2025
@Qard Qard force-pushed the more-napi-header-improvements branch from e264c13 to b8ba182 Compare June 23, 2025 10:06
@Qard
Copy link
Member Author

Qard commented Jun 23, 2025

Hmm...ClassInstance seems to not work properly, and Reference does not support being used in an Either. I'll have to think about this one a bit more. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants