I would like to leverage the topics field found in the repository object of several webhook event payloads. I noticed that for the push event, which has a special repo struct, the Topics field was missing.
I plan on implementing this enhancement the same way the standard repository struct does it, unless there are any objections. I am curious why it is of type []string and not *[]string though, if anyone would be willing to clarify that for me? It doesn't get an accessor generated as a result.
I would like to leverage the
topicsfield found in therepositoryobject of several webhook event payloads. I noticed that for thepushevent, which has a special repo struct, theTopicsfield was missing.I plan on implementing this enhancement the same way the standard repository struct does it, unless there are any objections. I am curious why it is of type
[]stringand not*[]stringthough, if anyone would be willing to clarify that for me? It doesn't get an accessor generated as a result.