Skip to content
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

Add message does not allow null values #48

Open
floratmin opened this issue Jun 23, 2021 · 1 comment
Open

Add message does not allow null values #48

floratmin opened this issue Jun 23, 2021 · 1 comment
Labels

Comments

@floratmin
Copy link

The addMessage method on the Extractor class does not allow to add messages where some fields are null. But the definition of the IMessage interface allows null values for text, textPlural and context.

@lukasgeiter
Copy link
Owner

You're right, that's definitely not consistent. Until this is fixed you can use undefined instead of null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants