12 Replies
As a followup question, is there a way to specify the jsonschema in the script code?
Not right now, you could do it through the CLI but in if it's incompatible with the signature then it would get overridden. We could make the JSON Schema tab editable but one would have to be mindful to always keep it compatible
actually I will make the JSON Schema tab editable in the same PR
with an alert that non compatible fields will get overriden
by compatible field I mean you can only refine properties
but you cannot add arguments or change their type
TBH, I prefer the current way if it is going to be in the web ide. Wouldn't fiddle with the json schema tab 🙂
I was thinking long term, could I provide a jsonschema with the script which is version controlled elsewhere.
Yes that's exactly what the cli allow you to do
Cool. That works for the non-web-ide scenario then!
GitHub
windmill-sync-example/hello_world.script.yaml at main · windmill-la...
Contribute to windmill-labs/windmill-sync-example development by creating an account on GitHub.
Just be mindful, the latest version of the CLI is a little bit buggy and i'm working on a fix
well, after I fix customise
but you can use 1.90.0 for instance
sync looks neat!
I can already see a path from experimenting in ide in a lower environment and then version control -> sync in a production environment.
Yes, improving the local IDE experience for apps and flows is what I was working on: https://discord.com/channels/930051556043276338/930051556043276341/1103375014503383050
and the CLI is a big part of that
we could spawn a local container for local devs with all your synced resources, and then you can push to prod once satisfied
you could even use that local container to have the full UI
so lots of cool low hanging fruits coming soon 🙂
Nice nice! Exciting!
BTW - this was me: https://github.com/windmill-labs/windmill-helm-charts/pull/16
A bit late to discord 🙂
GitHub
Treat oauth config as a secret by antrix · Pull Request #16 · windm...
Oauth config values generally have sensitive data that we don't want to commit to git.
This PR introduces two changes:
Converts oauth.json from a configmap to a Secret.
Allows referencing an e...
Thanks!