Skip to content
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

feat: expand PointerTo[T]() function to support proto enums #156

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

dylan-bourque
Copy link

This PR loosens the generic type constraint on PointerTo[T]() to replace int32 with ~int32 so that we include generated enum types and adds additional clarifying comments.

loosen the generic type constraint on `PointerTo[T]()` to replace `int32` with `~int32` so that we include generated enum types
add additional clarifying comments
@dylan-bourque dylan-bourque requested review from a team June 18, 2024 20:58
Copy link
Contributor

@wmorgan6796 wmorgan6796 left a comment

Choose a reason for hiding this comment

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

LGTM

Just one question about why limit it to NativeTypes, but not a blocking comment

@dylan-bourque dylan-bourque merged commit 8369698 into main Jun 18, 2024
5 checks passed
@dylan-bourque dylan-bourque deleted the feat/generic-pointer-to-for-enums branch June 18, 2024 22:12
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.

2 participants