You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: extra_format_unmarshallers get lost when instantiating V31RequestUnmarshaller #821
I'm trying to instantiate a V31RequestUnmarshaller with extra_format_unmarshallers. Sometime during the initialization process however they get overwritten with None. No problem for the V31ResponseUnmarshaller
Expected Behavior
That the extra_format_unmarshallers dict is equal to the one I provide.
I encountered the same issue with V30RequestUnmarshaller integrated in django framework. I only need to unmarshal the request data, so I did not test the response unmarshaller.
Allow me to reuse the statement of @claeyswo, modified with my situation.
Actual Behavior
I'm trying to instantiate a V30RequestUnmarshaller with extra_format_unmarshallers. Sometime during the initialization process however they get overwritten with None.
Expected Behavior
That the extra_format_unmarshallers dict is equal to the one I provide.
Activity
p1c2u commentedon Mar 28, 2024
Hi @claeyswo thanks for the report.
This one looks similar to #802. The fix is in the latest master.
claeyswo commentedon Mar 29, 2024
That seems to be the problem. Any thoughts on when this will be released?
YitingTinaRen commentedon Apr 2, 2024
Hello,
I encountered the same issue with V30RequestUnmarshaller integrated in django framework. I only need to unmarshal the request data, so I did not test the response unmarshaller.
Allow me to reuse the statement of @claeyswo, modified with my situation.
Actual Behavior
I'm trying to instantiate a V30RequestUnmarshaller with extra_format_unmarshallers. Sometime during the initialization process however they get overwritten with None.
Expected Behavior
That the extra_format_unmarshallers dict is equal to the one I provide.
Steps to Reproduce
The above code snippet returns
None.where the index.yaml is the following:
OpenAPI Core Version
0.19.0
OpenAPI Core Integration
django
p1c2u commentedon Apr 10, 2024
Fixed with #802