Closed msuozzo closed 1 week ago
any chance you can add a short summary to the PR description?
any chance you can add a short summary to the PR description?
Yeah good call. Done.
I'm little hesitant to review this, wondering if you're okay waiting for William to get back on this one?
I'm little hesitant to review this, wondering if you're okay waiting for William to get back on this one?
Happy to reassign. It touches a bunch of files but really only meaningfully in ~3 spots (remoterebuild.go
, ui.go
, and the no-op interface change in internal/api/apiservice/rebuild.go
).
Previously, The reader and writer apis had an ad hoc additional return value which was the ill-defined "resource path" for that asset. This change breaks that out into a more formal API and uses URLs as the medium of exchange.
As for the design choice to split out the URL() method into a separate interface: I found it useful to have users of this function declare in their signatures exactly where they want to "break out" of accessing assets exclusively through the AssetStore.