Context contains dictionary instead of request object
See original GitHub issueHello,
today I found that pull request #284 broke info.context
that contains {"request:" request}
instead of request object (as in version 0.11.0).
Are you going to fix it, or should I change my production code?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Python context objects better to use dictionary or attributes?
In my Python app, I need to create a simple RequestContext object that contains the actual request to send, as ...
Read more >Request and response objects - Django documentation
A dictionary-like object containing all given HTTP POST parameters, providing that the request contains form data. See the QueryDict documentation below.
Read more >Dictionary<string, object> or dynamic model is not supported ...
When the context parameter contains a model of type Dictionary<string, object> or dynamic , expressions in a layout view cannot be bound to ......
Read more >Dictionaries in Python - Real Python
A dictionary can contain another dictionary. A dictionary can also contain a list, and vice versa. Dictionaries differ from lists primarily in how...
Read more >Advanced Usage — Requests 2.28.1 documentation
The Response object contains all of the information returned by the server and also contains the Request object you created originally.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @PapiCZ, thanks for bringing this up.
This change is here to stay, for consistency between server implementations (as well as our docs).
Please take note that Ariadne’s major is at „0”, which in our eyes signifies that things are still not set in stone. Hovewer of all changes we’ve introduced to the library over recent year or so, this is AFAIR only breaking change.
Thanks for bringing this up, and sorry for this suprise.
Closing this as we no longer provide Django app out of the box.