-
Notifications
You must be signed in to change notification settings - Fork 2.7k
EntityMentions returns null instead of empty list #1322
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
Comments
AngledLuffa
added a commit
that referenced
this issue
Dec 8, 2022
…being set), return an empty list of entityMentions for an empty document. Addresses #1322
That is a little weird. I updated it to return an empty list in the case of an empty document |
Thanks for the quick response. It's an edge case I ran into at work today. |
AngledLuffa
added a commit
that referenced
this issue
Jan 20, 2023
…being set), return an empty list of entityMentions for an empty document. Addresses #1322
4.5.2 is now released, including this bugfix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran into an issue where if an empty string is passed in then getting the entityMentions returns null instead of an empty list like I figure out be standard practice.
Example code:
Just wanted to know if there is any light that can be shed on this. If this is expected behavior then I will try my best to document it in the documentation
The text was updated successfully, but these errors were encountered: