← All showcases
diagnostics + file mutationRefactor safety
diagnosticsrefactor

Links that break loudly

Rename a file. See the diagnostic, the quick-fix, the rewritten refs. Not a wiki.

Requirements that rot silently are worse than no requirements.

before — auth.rq

login {
    oauth handshake for the web client
    implemented in ["./src/handlers/auth.ts".login]
    @status done
}

session {
    cookie session after [login]
    implemented in ["./src/middleware/session.ts"]
}

rename

git mv src/handlers/auth.ts src/handlers/oauth.ts

auth.rq

errorFile reference "./src/handlers/auth.ts" could not be resolved

  • Update path to ./src/handlers/oauth.ts
  • Search workspace for auth.ts
  • Create missing file

after — refs rewritten

login {
    oauth handshake for the web client
    implemented in ["./src/handlers/oauth.ts".login]
    @status done
}

session {
    cookie session after [login]
    implemented in ["./src/middleware/session.ts"]
}