inveniosoftware / inveniosoftware/flask-resources

Validate ResourceConfig before using it

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
3
Forks
22
PR merge metrics
No merged PRs in 30d

Description

A ResourceConfig can be checked (and should be) in the Resource constructor so that it is known at testing/local deployment that the configuration is wrong (and not inprodution).

In particular, loaders and responses for mimetype need to be consistent with each other.

- Parsers can be a dict of "search", "create", ... keys or a sinlge ArgsParser . This must be checked.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.