Repository navigation
|
I suggest that, if the value of an attribute is explicitly null, when provided a default value for the function, let the default value be used. Thoughts? |
Answered by
henzeb
Jan 26, 2026
Replies: 2 comments 2 replies
|
Breaking change. I suggest you set the value to an empty array or omit it... Because you can actually want null if it is set in the array. |
0 replies
Answer selected by
jkpeyi
|
Honestly, I would find your expected behavior misleading. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Breaking change. I suggest you set the value to an empty array or omit it... Because you can actually want null if it is set in the array.