Skip to content

Add AbstractDict for request bodies #1029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Add AbstractDict for request bodies #1029

merged 1 commit into from
Mar 30, 2023

Conversation

screwdog
Copy link
Contributor

@screwdog screwdog commented Mar 29, 2023

I've broadened the accepted request body types from Dict to AbstractDict to allow for custom dictionary types.

I have a number of custom dictionary types representing JSON objects of various schema (a fairly common practice) and it is convenient to not have to explicitly convert them.

I can't think of how this could break existing usage but happy to be corrected

@quinnj
Copy link
Member

quinnj commented Mar 30, 2023

Thanks!

@quinnj quinnj merged commit 8dc7039 into JuliaWeb:master Mar 30, 2023
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