Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

go module's config type can not be in subpackage #5627

Description

@matt2e
  • I defined a type in a subpackage
  • I then used that type as an ftl.Config
  • This causes the build to fail
  • Generated code below refers to ftlgithubx but it does not get imported
reflection.ProvideResourcesForVerb(
			ftladmin.CollectRepos,
			server.Secret[string]("ospo", "githubToken"),
			server.Config[ftlgithubx.Config]("ospo", "githubConfig"),
			server.VerbClient[ftldb.LastPushedRepoByOrgClient, string, ftldb.RepoRow](),
		),

Metadata

Metadata

Assignees

Labels

githubMarks an issue as synced to Github

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions