I think this should be preferred over https://github.com/pydantic/pydantic/pull/6915, mostly because the implementation there involves duplicating the list of types in the union, and generally seems more fragile.

I've opened as draft until docs/tests are added, hoping @sydney-runkle can help get this across the line tomorrow.
Add CallableDiscriminator and Tag. I think this should be preferred over https://github.com/pydantic/pydantic/pull/6915, mostly because the implementation there involves duplicating the list of types in the union, and generally seems more fragile.

I've opened as draft until docs/tests are added, hoping @sydney-runkle can help get this across the line tomorrow.
::: pydantic.fields
    options:
      group_by_category: false
      members:
        - Field
        - FieldInfo
        - AliasChoices
        - AliasPath
        - PrivateAttr
        - ModelPrivateAttr
        - computed_field
        - ComputedFieldInfo

::: pydantic.fields
    options:
      group_by_category: false
      members:
        - Field
        - FieldInfo
        - AliasChoices
        - AliasPath
        - PrivateAttr
        - ModelPrivateAttr
        - computed_field
        - ComputedFieldInfo
