-
Notifications
You must be signed in to change notification settings - Fork 108
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
Treat None values as unexisting keys for default_box #59
Comments
Hi @eMerzh , sorry for delay getting back. That could be an interesting feature to add, I will look into the effort for it when I get a chance (feel free to put in a PR as well.) I have a few major life events happening / coming up, so I won't be available to contribute a good amount of time until after Thanksgiving or so as a forewarning. |
Hello @cdgriffith, if you are open to contributions, can I submit a PR for this issue ? |
Hi @haruntuncay I am always open to ideas and improvements! For this specifically as it changes current behavior it will need to target next major release, so if you do create it please do it off of the 4.0 branch. Thanks! |
@cdgriffith , I was going to give this issue a shot today, and wanted to ask for your opinion on whether this behavior should be configurable or not when a |
@haruntuncay I think I like the idea of making this new feature the default behavior, but do have an option to opt out of it as there may be cases it to be compatible with the previous behavior. So maybe |
Okay, I will update the PR accordingly. Are we set on |
Added in 4.0 |
Hi,
thanks a lot for your project, it's currently helping me a lot :)
one feature i missed is the ability to treat None values as if there was no key defined.
like in this example.
gives
but this works as exepected
many many thanks 👍
The text was updated successfully, but these errors were encountered: