C++ entry points should have some error checking to ensure inputs are of the right type
@duncanpo is already working on this.
Since Jul 18, 2025.
Assessment
This issue has not been assessed yet.
Description
Currently, C++ entry points do not perform any error checking and simply assumes inputs are of the right type. Consider making them more robust by adding some type checking and assertion otherwise. For example,
matlab::data::ArrayType type = value_mda[0].getType();
if (type == matlab::data::ArrayType::DOUBLE)
/* do something*/
else
/* assert */
- Dominant language
- MATLAB
- Stars
- 19
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mathworks/OpenTelemetry-MATLAB
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
documentation
mathworks/OpenTelemetry-MATLAB#248 · 1 assignee ·
-
test
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
otel-cpp changes
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
enhancement
mathworks/OpenTelemetry-MATLAB#242 · 1 comment · 1 assignee ·
All issues in mathworks/OpenTelemetry-MATLAB
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Documentation Good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
flatironinstitute/numbl#65 ·
-
Component: Continuous Integration Component: MATLAB Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100