Closed rennokki closed 3 months ago
I find it confusing a bit that the cached schema is playing a role in the final client.ts generation.
client.ts
I continuously tried to regen each time not knowing why it did not change, so I figured out I have to use the --fetch command.
--fetch
I think the effect of the --fetch flag should be the default and possibly introduce a --with-cache flag to use the cache instead if needed?
--with-cache
No response
Makes sense, I'll push an update in a few hours.
Hey! I couldn't do it, but I'm looking at it right now!
I've finally changed how this behave. It should now always fetch from the server.
Description of the bug
I find it confusing a bit that the cached schema is playing a role in the final
client.ts
generation.I continuously tried to regen each time not knowing why it did not change, so I figured out I have to use the
--fetch
command.I think the effect of the
--fetch
flag should be the default and possibly introduce a--with-cache
flag to use the cache instead if needed?Steps To Reproduce
No response
Additional Information
No response