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
The contents value of type box of flex message contents is encoded to null when it is nested and empty. So narrowcast API returns May not be empty.
I think it is necessary to modify the unmarshal logic in linebot/messaging_api/model_flex_box.go.
If this approach is acceptable, I would like to proceed with submitting a pull request. Please let me know if there are any concerns or suggestions for improvement.
We appreciate your report. We have also confirmed the behavior on our end. It seems that an empty array is being unmarshaled as null.
We believe this behavior should be corrected. It would be greatly appreciated if you could create a PR to fix this issue. Thank you in advance for your cooperation.
System Informations
Expected Behavior
↓
Current Behavior
The
contents
value of typebox
of flex message contents is encoded tonull
when it is nested and empty. So narrowcast API returnsMay not be empty
.I think it is necessary to modify the unmarshal logic in
linebot/messaging_api/model_flex_box.go
.If this approach is acceptable, I would like to proceed with submitting a pull request. Please let me know if there are any concerns or suggestions for improvement.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: