microsoft / microsoft/AdaptiveCards
[Shared] We should stop using `0` as a sentinel value for `Image` `Width`/`Height`
Open
@paulcam206 is already working on this.
Since May 6, 2021.
Area-Incubation
Request
Task
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
We currently use 0 as a sentinel value for, at minimum Image's Width and Height. We should take a look at the various places that this behavior is used (I think Column might suffer from this as well) and move them over to using std::optional.
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.
Assessment
This issue has not been assessed yet.