graasp / graasp/graasp-api

Refactor `getPostItemPayloadFromFormData` with some json validation and validate `extra`

Open
#1,624 0 comments 0 reactions 0 assignees View on GitHub
refactor
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Extra is not validated, it is difficult because the current endpoint POST /items allows to save any item.

Later we will have endpoints per type, so checking extra will be easier.
But do we need POST /with-thumbnails for all endpoints? Maybe not.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.