-
-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Labels
bug 🔥Something isn't workingSomething isn't workingclientClient package relatedClient package related
Description
Hi, unsure where best to raise I've had a hunt around and can't find an answer but I suspect it might be a configuration issue:
@hey-api/openapi-ts: 0.85.0
@angular: 20.3.2
openapi spec: 3.1.0
using the legacy/angular
client I get as expected function definitions with Observable<...>
return type
However using '@hey-api/client-angular' the response type is always RequestResult
type aka a Promise
I'd rather not have to wrap service calls everywhere to convert promises to observables
config:
export default default defineConfig({
input: ...,
output: ...,
plugins: [
'@hey-api/client-angular'
{
useClass: true,
name: '@hey-api/sdk
}
]
});
Metadata
Metadata
Assignees
Labels
bug 🔥Something isn't workingSomething isn't workingclientClient package relatedClient package related