metosin / metosin/ring-http-response

Using the library in ClojureScript and self-host?

Open
#21 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
156
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I am evaluating this lib for usage in constructing responses from my CLJS lambda functions but I have noticed that the main file is a http_response.clj is .clj file.

Is this something you folks would be willing to change? I could try to work on something that works on both ClojureScript and self-host for instance.

It would basically importing things from macchiato or copy over the bits it needs from ring instead of referring the vars.

What do you think?

Contributor guide

Open the contributing guide

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.

Research direction

Begin with http_response.clj and trace the Ring vars it refers to, then compare the proposed Macchiato or copied Ring pieces with the project's ClojureScript and self-host requirements. Done means the library can construct responses in those environments without unsupported Clojure-only references.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.