Duolith docs

Errors E0600 to E0699

E0640 Operation needs a caller the server cannot read yet

Message operation is allowed for "rule", and this server can only build operations that are allow: public

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

A generated server runs every request through one pipeline in a fixed order (decision 0165). The steps that work out who is calling and run an operation's allow: rules are built by the wiring and caller package (work package 21). Until they are there, the build refuses an operation that needs them, rather than generate a server that would answer it for anyone.

How to fix it

Leave the operation out of this server until the caller steps are built. Write allow: public only if anyone at all may call it.

In a terminal

duolith explain E0640