You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The build Author struct only contains a name and email. However, in a build.finished webhook, I see it also having a username field. It would be nice to have that in the struct as well to help when unmarshalling webhook events.
Thanks for raising this with us - and I believe what we should be potentially altering is the build finished webhook event (specifically the typedbuildEvent). The Author of the CreateBuild type you linked to is specifically used for REST API build#create, but also for build#get (which would return an Author model with the #get that looks like this)
I think we could potentially wrap this up under the struct literal ticket that was previously asked on (convert and also introduce specific types)
Describe the bug
The build Author struct only contains a name and email. However, in a
build.finished
webhook, I see it also having ausername
field. It would be nice to have that in the struct as well to help when unmarshalling webhook events.The text was updated successfully, but these errors were encountered: