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
Thank you for opening this issue and providing clear examples. I’ve reviewed the code snippets, but I wasn’t able to locate the relevant code in the project that handles the fields option. As a result, I can't confirm the implementation details leading to the KeyError when passing nil.
From your description, it seems we should receive an empty array instead of an error. I also noticed that setting name as optional still results in unexpected behavior.
Is there any ongoing discussion or documentation about this feature? If not, I would suggest we revisit the handling of nil values for the fields option to ensure it defaults correctly when nil is passed.
If there’s no one currently working on a fix, I’d be happy to assist in implementing a solution once we clarify the intended behavior. Please let me know how you would like to proceed!
Describe the bug
I get a
KeyError
when pass thenil
value for option, but it's ok when the option is omittedTo Reproduce
Expected behavior
Getting and empty array
My environment
The text was updated successfully, but these errors were encountered: