BHoM / BHoM/admin

Allow nullable primitive types, so they can be used as return type

Open
#7 0 comments 0 reactions 4 assignees Claimed by @IsakNaslundBh View on GitHub
type:feature
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

#### Description:

As discussed in the Error Management Workshop ([notes here](https://burohappold.sharepoint.com/:w:/s/BHoM/EZ3I_cCKETdLuwNcWhz9sJgBbseWgOvxbKkQJ7tgayQ-og?e=m4JNUN)).

Nullable primitive types would allow for an additional mechanism for better error handling. Instead of returning a boolean or an empty data in case a method fails, we could return a null.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.