Skip to content

Commit

Permalink
fix: transitive exports in schema extraction (#1851)
Browse files Browse the repository at this point in the history
  • Loading branch information
worstell authored Jun 21, 2024
1 parent 80811b1 commit 19852e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions go-runtime/compile/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ func updateTransitiveVisibility(d schema.Decl, module *schema.Module) {
t.Export = true
case *schema.Database, *schema.Config, *schema.FSM, *schema.Secret, *schema.Subscription:
}
updateTransitiveVisibility(decl, module)
}
return next()
})
Expand Down
1 change: 1 addition & 0 deletions go-runtime/schema/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func updateTransitiveVisibility(d schema.Decl, module *schema.Module) {
t.Export = true
case *schema.Database, *schema.Config, *schema.FSM, *schema.Secret, *schema.Subscription:
}
updateTransitiveVisibility(decl, module)
}
return next()
})
Expand Down

0 comments on commit 19852e2

Please sign in to comment.