practicalli / practicalli/clojure-web-services

Validation middleware

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

Nobody has claimed this yet.

middleware ring
Dominant language
Markdown
Stars
16
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Validating content sent to an API using middleware, returning a http status 422 if an error.

Example of simple validation middleware

https://clojurians.slack.com/archives/C053AK3F9/p1580340789444600?thread_ts=1580340789.444600&cid=C053AK3F9

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

The issue names no repository files, tests, or entry points. Start by locating the API middleware and validation handling, then review the linked Slack example for the intended behavior; done means invalid API content is handled by middleware with HTTP status 422.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.