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
I have searched (google, github) for similar issues and couldn't find anything
I have read and followed the docs and still think this is a bug
Bug
I found a small regression between 1.8.2 and master that broke some tests for me -- I bisected and found that it started with 458f257. Here's the test I used:
In 1.8.2 this was overridden json() was used on all nested models as well, but in master this is only applied to the outer model. This means that we get { "nested": { "value": null } } when previously we would've gotten { "nested": {} } like above.
The text was updated successfully, but these errors were encountered:
Checks
Bug
I found a small regression between 1.8.2 and
master
that broke some tests for me -- I bisected and found that it started with 458f257. Here's the test I used:In 1.8.2, options to
json()
(likeexclude_none
) were passed to all nested models, but inmaster
that no longer occurs. Instead, we see:In my case, I noticed this because I had two models:
In 1.8.2 this was overridden
json()
was used on all nested models as well, but in master this is only applied to the outer model. This means that we get{ "nested": { "value": null } }
when previously we would've gotten{ "nested": {} }
like above.The text was updated successfully, but these errors were encountered: