You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#1640
Checks for:
- publishing directly to an external module's exported topic
- directly calling an external module's verb, rather than using
`ftl.Call(...)`
- This already fails at runtime, but it's nice to have this as a compile
error
Both of these compile-time checks are not fool proof, any indirection
will mean these checks don't catch it. But it is good to catch what we
can.
eg:
```go
var extTopic = external.Topic
extTopic.Publish(...) // compiler believes this is a local topic
```
Added a separate issue for this for pubsub as it may not be as high a
priority: #1703
Either return an error or make it work.
Currently it sends the callees module name which could cause very weird issues.
The text was updated successfully, but these errors were encountered: