BHoM / BHoM/BHoM_UI

Set Generic Type on input and output

Open
#399 0 comments 0 reactions 0 assignees View on GitHub
type:feature
Dominant language
C#
Stars
9
Forks
6
PR merge metrics
No merged PRs in 30d

Description

It would be useful to have improved generic type handling for inputs and outputs in the `Caller.Run` method.
For example the generic method to create a `Tree` with `Point`s should return outputs of `BH.oM.Data.Collections.Tree '1[Point]` :
![Screenshot 2021-08-04 094305](https://user-images.githubusercontent.com/6618854/128151725-672d09aa-629c-4311-b7cc-f7dd4ec9c00e.jpg)
Could / should the description also update too when the type is known?:
![Screenshot 2021-08-04 094300](https://user-images.githubusercontent.com/6618854/128151739-66ed287c-e1ae-4fce-aa23-7fc685ea2a12.jpg)

Contributor guide

Open the contributing guide

Research direction

Start at the `Caller.Run` method named in the issue and trace how generic input and output types are represented. Confirm the expected behavior using the Tree with Point example and screenshots; done means the output exposes `Tree` and the description behavior is decided and covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.