Skip to content

[Backport release-2.3] function: Add missing dependencies to the Go function template#111

Merged
adamwg merged 1 commit into
release-2.3from
backport-109-to-release-2.3
Jun 15, 2026
Merged

[Backport release-2.3] function: Add missing dependencies to the Go function template#111
adamwg merged 1 commit into
release-2.3from
backport-109-to-release-2.3

Conversation

@github-actions

Copy link
Copy Markdown

Description

Backport of #109 to release-2.3.

The go.mod and go.sum in the Go function template were missing two transitive
dependencies, requiring the user to run `go mod tidy` before any function that
uses our generated schemas would build correctly:

- `github.com/oapi-codegen/runtime v1.1.0 // indirect`
- `github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect`

Add these two dependencies and their corresponding go.sum entries to the
template in go.tar.

Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
(cherry picked from commit cca4b19)
@github-actions github-actions Bot requested review from a team, jcogilvie and tampakrap as code owners June 15, 2026 18:58
@github-actions github-actions Bot requested review from adamwg and removed request for a team June 15, 2026 18:58
@adamwg adamwg merged commit 17b8a15 into release-2.3 Jun 15, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant