Skip to content

Support Angular httpResource APIย #2316

@martinboue

Description

@martinboue

Context

Angular is transitioning to signals and since v19.2 Angular has introduced httpResource async signal.

As of v20.1 httpResource is still experimental but it will become the recommended way to fetch data when stable.

Current behavior

Orval exposes Observable<T> from HttpClient for every request.

Expected behavior

Expose httpResource's signal, Observable<T> or both for every GET requests. Ideally it should be configurable.

Keep the current behavior for other HTTP verbs (POST, PUT, ...).

Metadata

Metadata

Assignees

Labels

angularRelated to Angular generation issues

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions