Project layout and modules · rule
visibility.public_not_allowed
Declaration can't be public.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
A domain offers other domains its types, entities, queries, libraries and
actions, and their tests, fixtures and seeds its fixtures; nothing else is
public:
public routes Todos { prefix: /todos}
error: A route group can't be `public` --> domains/planning/routes/todos.jadpo:1:1 |1 | public routes Todos { | ^^^^^^ not part of a domain's interface reason: A route group is a trigger: nothing calls it, so there is nothing to offer another domain; who reaches a route is decided by the route and its policy. next: Remove `public` (agent) rule: visibility.public_not_allowed help: https://jadpo.dev/docs/errors/visibility.public_not_allowedcheck failed: 1 error, 2 files
Markdown for agents: /docs/errors/visibility.public_not_allowed.md.Built from Jadpo main at a707efb.