Skip to content

Conversation

@Huliiiiii
Copy link
Member

No description provided.

@Huliiiiii Huliiiiii requested a review from tyt2y3 December 28, 2025 19:57
#[cfg(feature = "with-mac_address")]
Array::MacAddress(v) => v.is_empty(),
Array::Null(_) => true,
Array::Null(_) => false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

umm Null should be empty right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have the is_null method.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty array => '{}'
null array => NULL

@Huliiiiii Huliiiiii changed the title Add missing Array::Null to try_from_value Refactor Dec 28, 2025
@Huliiiiii Huliiiiii requested a review from tyt2y3 December 28, 2025 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants