Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow subpackage's verbs to be called #2165

Merged
merged 4 commits into from
Jul 25, 2024
Merged

Conversation

matt2e
Copy link
Collaborator

@matt2e matt2e commented Jul 25, 2024

Note: Accidentally included this PR in this one: #2163

In .ftl/go/main/main.go when registering verb handlers, we were calculating the refs for each verb as Ref{module:subpackage, name:verb}.
This fixes the conversion from go function to FTL ref by handling subpackages correctly.

@matt2e matt2e requested a review from alecthomas as a code owner July 25, 2024 04:47
@matt2e matt2e requested review from a team and wesbillman and removed request for a team July 25, 2024 04:47
@ftl-robot ftl-robot mentioned this pull request Jul 25, 2024
@matt2e matt2e requested a review from gak July 25, 2024 04:48
@matt2e matt2e merged commit 7612fea into main Jul 25, 2024
60 checks passed
@matt2e matt2e deleted the matt2e/subpackage-verbs branch July 25, 2024 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant