-
Notifications
You must be signed in to change notification settings - Fork 155
Add support for httpResource API #361
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
base: master
Are you sure you want to change the base?
Add support for httpResource API #361
Conversation
|
@ivebeenlinuxed I extended a bit with allowing to send httpResourceOption as a parameter. |
|
Hello @cvetanstoimenov! Thanks for the commit! Your changes look great! I've squashed it and reverted the changes to package.json and package-lock.json as they didn't really contribute to the fix (We can let the maintainers increase the version number). I've then applied that commit to pull request here, and also merged it into my master branch. Hopefully you can see the git history is nice and clean this way. I've also checked out your version into one of my latest projects, and everything seems to work a dream! Hope that makes it easy for the maintainers to pull in. |
|
Hello, are there any plans to merge this one? I hope it will become available soon 🤞 |
|
I agree, I need this feature.... |
|
Hello! Any plans on merging it? |
|
@ivebeenlinuxed are you still maintaining this PR? |
|
Hello - I'm actively using my own fork ng-openapi-cli. It works well for me. Not been pushing to make an official fork, but this was critical for me, so I merged it and use it personally. Happy to chat to anyone about how to take this forward. |
|
Note all: The original issue has been closed with "duplicate", but #359 also confirms the maintainers will not merge a patch for HttpResources |
|
For everyone who also ends here to make his angular resource making happen with openapi-gen, private openApiService = inject(YourOpenApiService);
protected yourResource = resource({
loader: () => this.openApiService.getStuff()
}); |
Provides httpResources for #359