Duolith docs

Errors E0600 to E0699

E0612 Domain setting in duolith.yaml that cannot be used

Message problem

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

Why

domains: in duolith.yaml names what domain files may refer to: origin: (same, or one https:// origin with no path, where the generated client sends), rules: with the types each takes, and services: with onceKey: when the service accepts a once-key. public and signed in are every app's rules already. A key there that is not a setting is refused.

How to fix it

Write the setting as the help says, such as rules: { admin: {}, self: { takes: [id] } }.

In a terminal

duolith explain E0612