Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

QUICK-FIX: add parse json request body middleware #39

Merged
merged 5 commits into from Nov 11, 2019

Conversation

dimadk24
Copy link
Owner

Problem statement

Need to manually parse json in request.body in each handler

Solution description

Create middleware, write tests for it.

Disable eslint jest/valid-describe as it is flawed: jest-community/eslint-plugin-jest#203

@dimadk24
Copy link
Owner Author

Tested in on few handlers, it works

@dimadk24 dimadk24 force-pushed the add-parse-json-request-body-middleware branch from 26c8d70 to 548948a Compare November 11, 2019 17:07
@dimadk24 dimadk24 merged commit 1bb76d9 into master Nov 11, 2019
@dimadk24 dimadk24 deleted the add-parse-json-request-body-middleware branch November 11, 2019 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant