Skip to content
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

Vue client / vue data loader plugin #1159

Open
josh-hemphill opened this issue Oct 16, 2024 · 2 comments
Open

Vue client / vue data loader plugin #1159

josh-hemphill opened this issue Oct 16, 2024 · 2 comments
Labels
feature 🚀 New feature or request

Comments

@josh-hemphill
Copy link

Description

I got something working in the old openapi-typescript-codegen (and the vue specific bits if you want to look at it), and I had a fork to try and shim it in with increasingly complicated templates. I'd love to get something working here that would be more maintainable.
I'd love to start on a PR; should it be a plugin or a client? I'm not super clear on the limitations between the two.
I tried setting up a repo with the @tanstack/vue-query plugin, but really want to try and get the boilerplate code in vue to be much lower than what I was getting with that plugin.

@josh-hemphill josh-hemphill added the feature 🚀 New feature or request label Oct 16, 2024
@mrlubos
Copy link
Member

mrlubos commented Oct 16, 2024

Hey @josh-hemphill! Can you help me understand what problem do you need to solve? I'm not super familiar with Vue

@josh-hemphill
Copy link
Author

josh-hemphill commented Oct 16, 2024

For a basic Vue client, getting the reactive fetch bindings like @vueuse/fetch, that's what I had implemented using the fork of openapi-typescript-codegen. From experience, it's not really possible to just throw @vueuse/fetch on top of or behind the api codegen/interfaces, it doesn't work out, it requires a bespoke client (unfortunately)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants