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
After reading it again, I do understand that it is expected that only the return value of getName() be null, but I really expected the whole expression to be null safe since there is not ?. syntax. I guess my issue is more of a feature request for null safe dereference (@user?.getName()).
The null safe syntax advertised in the docs doesn't work as expected.
The example shows
@?user.getName()
which generates__internal.renderValue(user.getName(), true);
.If
user
is null, that will throw a NPE.The text was updated successfully, but these errors were encountered: