c2corg / c2corg/v6_api

Update cornice and validation

Open
#1,073 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
28
Avg merge
4h
Merged PRs (30d)
9

Description

We are currently using old versions of cornice and colander with custom patches (see requirements.txt)

If possible, we should not depend on 'custom' builds of third party libraries, and at least, we should update them.

Here, the PRs haven't been merged in the projects. They relate to using colander with cornice to validate the json in the request body.

Maybe a good replacement candidate could be to use cornic with marshmallow.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with requirements.txt to inspect the custom cornice and colander builds and the pinned versions. Review the upstream PRs mentioned in the issue, then compare updating those dependencies with replacing cornice/colander validation using marshmallow; done means request-body JSON validation works without custom third-party builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.