Open Maxim-Mazurok opened 1 year ago
@melloware I don't have a patch for this and this isn't a priority for me, so I'll unassign myself for now so that others can claim it. If it's confirmed to be introduced by my changes - I'm happy to own the mistake and fix it.
What are the steps to reproduce this issue?
Have this in swagger schema:
What happens?
["api", "v1", "user", urlType - url] as const
is being generated which is invalidWhat were you expecting to happen?
["api", "v1", "user", urlType, "-url"] as const
probably (becauseurlType
can be ref in Vue (MaybeRef) and doing{urlType}-url
will probably result in lost reactivity)Any other comments?
This is kind of a regression of https://github.com/anymaniax/orval/issues/65 Likely introduced by the last changes that enable Vue Reactivity
Creating PR isn't a priority for me right now, we're not using that API for now, so I just did this:
What versions are you using?
Operating System: Ubuntu WSL Package Version: 6.15.0 Browser Version: N/A