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

Improve App configuration UX with Tmpl #232

Open
cusma opened this issue Apr 11, 2023 · 0 comments
Open

Improve App configuration UX with Tmpl #232

cusma opened this issue Apr 11, 2023 · 0 comments

Comments

@cusma
Copy link
Contributor

cusma commented Apr 11, 2023

I've played a bit with Beaker v1 and I would like to report a feedback.

Now that the tool is instance-based (instead of class-based), working with Tmpl seems the best way to deal with parametric configurations of App constants (previously I used the __init__ of the App Class to have instance-specific self constants).

I think that Beaker could improve the UX of working with Tmpl introducing a class, or a helper, that handles the Tmpl constants facilitating the replace of TMPL_ placeholders with actual values in the TEAL code, avoiding "string replace" boilerplate.

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

No branches or pull requests

1 participant