Closed xibz closed 1 year ago
Thanks @xibz - we strive to keep the content of the events as small as possible, as additional data can usually be retrieved via an API call. That said, I don't have an issue with adding an optional description to the spec, if that can help with the performance of visualisation tools. Would you like to propose a PR for this?
I agree that an optional description
field would be suitable in the subject of the change.created event
One thing to keep in mind is that the description of e.g. a PR in GitHub can be edited. We would not catch such edits with the current events.
While git is definitely not the only version control tool, I would say a lot of various tools utilize pull requests. While commits can have a commit message each, having an overarching description for the overall change is really beneficial.
Including a top level
description
field could give tools an easy way of displaying the description back to users without needing to use the GIT API or something similar.