Skip to content

Fix path and query parameters receiving dict as valid - #287

Merged
tiangolo merged 4 commits into
masterfrom
fix-path-query-dict
Jun 3, 2019
Merged

tiangolo merged 4 commits into
masterfrom
fix-path-query-dict

Conversation

@tiangolo

@tiangolo tiangolo commented Jun 3, 2019

Copy link
Copy Markdown
Member

Fix path and query parameters receiving dict as valid.

It should be taken as a body.

It was introduced in #278.

This should solve #286.

@codecov

codecov Bot commented Jun 3, 2019

Copy link
Copy Markdown

Codecov Report

Merging #287 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #287   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         208    211    +3     
  Lines        4938   5028   +90     
=====================================
+ Hits         4938   5028   +90
Impacted Files Coverage Δ
...t_query_params_str_validations/test_tutorial011.py 100% <100%> (ø) ⬆️
fastapi/dependencies/utils.py 100% <100%> (ø) ⬆️
...t_query_params_str_validations/test_tutorial013.py 100% <100%> (ø)
tests/test_invalid_path_param.py 100% <100%> (ø)
tests/test_invalid_sequence_param.py 100% <100%> (ø) ⬆️
...cs/src/query_params_str_validations/tutorial013.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a7ef55...a65f875. Read the comment docs.

1 similar comment
@codecov

codecov Bot commented Jun 3, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #287 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #287   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         208    211    +3     
  Lines        4938   5028   +90     
=====================================
+ Hits         4938   5028   +90
Impacted Files Coverage Δ
...t_query_params_str_validations/test_tutorial011.py 100% <100%> (ø) ⬆️
fastapi/dependencies/utils.py 100% <100%> (ø) ⬆️
...t_query_params_str_validations/test_tutorial013.py 100% <100%> (ø)
tests/test_invalid_path_param.py 100% <100%> (ø)
tests/test_invalid_sequence_param.py 100% <100%> (ø) ⬆️
...cs/src/query_params_str_validations/tutorial013.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a7ef55...a65f875. Read the comment docs.

@tiangolo
tiangolo merged commit c7db2ff into master Jun 3, 2019
@tiangolo
tiangolo deleted the fix-path-query-dict branch June 3, 2019 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant