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

[DEMO] Support IDE type checks and auto-completion for MODELS #982

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flexchar
Copy link
Contributor

@flexchar flexchar commented Apr 7, 2024

Hey! I recently updated code base and encountered issues with something being not as expected.

We've had numerous issues with people struggling to define correct JSON and then, frankly, jerking in a circle by trying to fix the .env.local file without realising that the file is actually NEVER reloaded despite the Vite in the terminal saying reloading the server. Had it been in the real life, it would have been funny to watch haha.

Anyways, I had a little idea and thought why not to use typescript for it. Squeezing inside ENV variable feels so so wrong. Not far from trying to put socks on a rooster. :)

This is obviously NOT READY to be merged but perhaps it could spark a solution with some bright minds.

For the demo, look at the files changed.

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

Successfully merging this pull request may close these issues.

None yet

1 participant