Skip to content

Conversation

@bgentry
Copy link
Contributor

@bgentry bgentry commented Aug 16, 2025

A mistake was made in #379 by including internal types in user-facing
structs and as arguments, specifically by exposing things from the
internal/apibundle package like EndpointsBundle. To rectify this,
move user-facing types into a top-level uiendpoints package (not
internal) which now includes a Bundle and BundleOpts type that can
be referenced both from riverui and from packages in internal
without creating a dependency loop.

@bgentry bgentry force-pushed the bg-refactor-server-name branch from b08b92e to 6df5950 Compare August 16, 2025 20:07
Base automatically changed from bg-refactor-server-name to master August 16, 2025 20:10
A mistake was made in #379 by including internal types in user-facing
structs and as arguments, specifically by exposing things from the
`internal/apibundle` package like `EndpointsBundle`. To rectify this,
move user-facing types into a top-level `uiendpoints` package (not
internal) which now includes a `Bundle` and `BundleOpts` type that can
be referenced both from `riverui` and from packages in `internal`
without creating a dependency loop.
@bgentry bgentry force-pushed the bg-endpoints-fixes branch from 3ffe130 to 7c0fca9 Compare August 16, 2025 20:10
@bgentry bgentry merged commit 3267bc5 into master Aug 16, 2025
17 of 19 checks passed
@bgentry bgentry deleted the bg-endpoints-fixes branch August 16, 2025 20:17
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.

3 participants