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

Global default null value rendering to avoid NPEs #161

Open
albert-kam opened this issue Dec 27, 2021 · 0 comments
Open

Global default null value rendering to avoid NPEs #161

albert-kam opened this issue Dec 27, 2021 · 0 comments

Comments

@albert-kam
Copy link

Hi Rocker !

Is there a way to provide default value for null to avoid NPE during rendering, for example rendering empty string instead ?

I understand there's a null-safety operator, but considering there are lots of variables to render in a lot of pages, this could become cumbersome.

Thank you !

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

No branches or pull requests

2 participants