Skip to content

[REQ] Add support for Angular Resource API #21263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Mr-Jami opened this issue May 11, 2025 · 4 comments
Open

[REQ] Add support for Angular Resource API #21263

Mr-Jami opened this issue May 11, 2025 · 4 comments

Comments

@Mr-Jami
Copy link

Mr-Jami commented May 11, 2025

Is your feature request related to a problem? Please describe.

I would love to implement the newest features of Angular in my API client using the Resource API or even better the new HttpResource introduced in Angular v19.2, but currently there is no support of this feature.

Describe the solution you'd like

I want to be able to generate my client either using the standard HttpClient or using the new Resource. Or perhaps even generate both. I think it would be nice to then have them as services and inject them into the angular components (as it is right now for the HttpClient)

Describe alternatives you've considered

There isn't really any well established library which supports this feature yet. So currently I am just manually creating my client by myself.

Additional context

@jase88
Copy link
Contributor

jase88 commented May 19, 2025

I like this feature suggestion. Especially with the experimental httpResource there are several possibilities. However, the question is how the generated api should look exactly. When this has been worked out in detail, I would like to actively participate in the implementation. It should be configurable in any case.

@fchtngr
Copy link

fchtngr commented May 30, 2025

is this being discussed somewhere? the only thing i found so far is this issue

@Mr-Jami
Copy link
Author

Mr-Jami commented Jun 2, 2025

is this being discussed somewhere? the only thing i found so far is this issue

@fchtngr unfortunately I haven't seen anything regarding this. Neither in this client generator, nor in other client generators. It would be really nice to implement this asap. Since there is a lot of use cases for this already.

@Mr-Jami
Copy link
Author

Mr-Jami commented Jun 2, 2025

is there any way to prioritize this feature or request to prioritize it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants