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

Support null coalesce operator #265

Merged
merged 5 commits into from
Mar 18, 2024
Merged

Support null coalesce operator #265

merged 5 commits into from
Mar 18, 2024

Conversation

pwrightcertinia
Copy link
Contributor

@pwrightcertinia pwrightcertinia commented Feb 28, 2024

closes #264

The behaviour is very similar to the ternary from a type checking perspective (it is essentially an implicit != null check), so for ease of update re-used the conditional operation with a more general message.

There is no checking at the moment for the other problems like using it in invalid locations (SOQL binding etc.)

@pwrightcertinia pwrightcertinia merged commit 8798aa4 into main Mar 18, 2024
1 check passed
@pwrightcertinia pwrightcertinia deleted the null-coalesce branch March 18, 2024 13:39
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.

Update to latest apex-parser to support null coalesce
1 participant