Skip to content

Update NativeTypes doc to reflect how to enable cel tag #1148

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

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

chuangw6
Copy link
Member

@chuangw6 chuangw6 commented Apr 2, 2025

Fixes #1147

Prior, NativeTypes function doc says that

There is also the possibility to rename the fields of native structs by setting the cel tag for fields you want to override. In order to enable this feature, pass in the EnableStructTag option.

However, EnableStructTag doesn't exist.

This PR corrects the code comment.

@TristonianJones
Copy link
Collaborator

/gcbrun

@TristonianJones TristonianJones merged commit 840f741 into google:master Apr 2, 2025
4 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.

Unable to find EnableStructTag to use cel tag
2 participants