Other misc useful integrant helpers

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
clojure

Research direction

Start by locating the existing suspend, resume, refresh, and find-derived-1 entry points in the project. Check how REPL helpers are exposed, then verify that restart skips refresh and that find-component delegates to the current Integrant system. No files or tests are named in the issue, so the project structure and existing test suite will need to be explored.

Written by the indexing model from the issue text.

Description

A few things which seem potentially useful:

  • restart - shorthand for (suspend) (resume) - skips the refresh
  • (find-component :k) - shorthand for (find-derived-1 integrant.repl.state/system :k). Useful for defining REPL helpers like (defn db [] (find-component :db)) instead of having to code against the specific implementation in use (which could change!)
Dominant language
Clojure
Stars
178
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from weavejester/integrant-repl

All issues in weavejester/integrant-repl

Similar issues

More Clojure issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.