Skip to content

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

Merged
TristonianJones merged 1 commit intogoogle:masterfrom
chuangw6:fix-doc
Apr 2, 2025
Merged

Update NativeTypes doc to reflect how to enable cel tag#1148
TristonianJones merged 1 commit intogoogle:masterfrom
chuangw6:fix-doc

Conversation

@chuangw6
Copy link
Copy Markdown
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
Copy Markdown
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