-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Over in service-apis, we have a CRD that uses Go type aliases:
type ConfigMapsDefaultLocalObjectReference struct {
...
}
type GatewayClassParametersObjectReference = ConfigMapsDefaultLocalObjectReference
type RouteHostExtensionObjectReference = ConfigMapsDefaultLocalObjectReference
type RouteActionExtensionObjectReference = ConfigMapsDefaultLocalObjectReferenceEach alias has unique doc comments describing how it should be used in context.
What happens is that a single documentation block for ConfigMapsDefaultLocalObjectReference gets generated, and it takes the comments from one of the aliases.
What I'm hoping for is for each alias to emit its own unique documentation, and probably inline the fields of the type it is aliasing.
Metadata
Metadata
Assignees
Labels
No labels