linefusion / indirectus

20 stars 6 forks source link

Bug: `--fetch` effect should be the default one? #6

Closed rennokki closed 3 months ago

rennokki commented 7 months ago

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

WoLfulus commented 7 months ago

Makes sense, I'll push an update in a few hours.

WoLfulus commented 7 months ago

Hey! I couldn't do it, but I'm looking at it right now!

WoLfulus commented 3 months ago

I've finally changed how this behave. It should now always fetch from the server.