Skip to content

Unable to find EnableStructTag to use cel tag #1147

@chuangw6

Description

@chuangw6

Hi there,

I'm trying to enable Go native types in cel env setup, and I'm aiming to access the field name using a customized name via the cel tag.

In the https://pkg.go.dev/github.com/google/cel-go/ext#NativeTypes, it says, "In order to enable this feature, pass in the EnableStructTag option." However, I can't find this option in the codebase.

Can someone provide some guidance on this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions