We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6ab46 commit 68a8802Copy full SHA for 68a8802
http/codegen/service_data.go
@@ -791,7 +791,7 @@ func (sds *ServicesData) analyze(httpSvc *expr.HTTPServiceExpr) *ServiceData {
791
_, ca.IsAliased = ca.FieldType.(expr.UserType)
792
if ca.IsAliased {
793
if svcData := sds.ServicesData.Get(svc.Name); svcData != nil {
794
- ca.ServiceTypeRef = svcData.Scope.GoTypeRef(&expr.AttributeExpr{Type: ca.FieldType})
+ ca.ServiceTypeRef = svcData.Scope.GoTypeRef(&expr.AttributeExpr{Type: ca.Type})
795
} else {
796
ca.ServiceTypeRef = codegen.Goify(ca.FieldType.Name(), true)
797
}
0 commit comments