Skip to content

Commit

Permalink
Add todo in client dependency template
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuntao Lu committed Jul 5, 2017
1 parent c8357a0 commit 17d05df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codegen/template_bundle/template_files.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions codegen/templates/dependency_struct.tmpl
Expand Up @@ -20,6 +20,7 @@ type Dependencies struct {
// {{$classType | pascal}}Dependencies contains {{$classType}} dependencies
type {{$classType | pascal}}Dependencies struct {
{{ range $idx, $dependency := $moduleInstances -}}
{{- /* TODO: the dependency type should cover all types instead of just interface type */ -}}
{{$dependency.PackageInfo.QualifiedInstanceName}} {{$dependency.PackageInfo.ImportPackageAlias}}.{{$dependency.PackageInfo.ExportType}}
{{end -}}
}
Expand Down

0 comments on commit 17d05df

Please sign in to comment.