MLH-Fellowship / MLH-Fellowship/orientation-project-python-23.FAL.A

Add Validation on Education POST Request

Open
#38 0 comments 0 reactions 1 assignee View on GitHub

@kentarolim10 is already working on this.

Since Sep 25, 2023.

Dominant language
Python
Stars
0
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently, when you create a POST request for an Education, there is no validation on the object. It instead gets type casted as an Education, which is fine, but it creates a nasty looking error when the object it is given does not match. An nicer to read error message would be much preferred.

Relates to #37

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.