Skip to content

Add 'query' to __location_map__'#89

Merged
sloria merged 1 commit intomarshmallow-code:devfrom
Nobatek:add_query_to_location_map
Sep 15, 2016
Merged

Add 'query' to __location_map__'#89
sloria merged 1 commit intomarshmallow-code:devfrom
Nobatek:add_query_to_location_map

Conversation

@lafrech
Copy link
Copy Markdown
Member

@lafrech lafrech commented Sep 14, 2016

Adding query to location_map allows users to use 'query' as location.

The goal here is not just to save 6 characters writing 'query' instead of 'querystring'. The idea is to be coherent with webargs, which allows 'query' as an equivalent for 'querystring', thus facilitate integration of apispec with webargs.

@sloria sloria merged commit e4402d7 into marshmallow-code:dev Sep 15, 2016
@sloria
Copy link
Copy Markdown
Member

sloria commented Sep 15, 2016

Thanks!

@lafrech lafrech deleted the add_query_to_location_map branch March 20, 2017 08:29
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.

2 participants