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

Handle various types with SetTempVarValue #1226

Open
Destroy666x opened this issue Oct 4, 2024 · 0 comments
Open

Handle various types with SetTempVarValue #1226

Destroy666x opened this issue Oct 4, 2024 · 0 comments

Comments

@Destroy666x
Copy link
Contributor

Background

It'd shorten the code in a bunch of places if the function was overloaded to take ints, doubles, bools, etc. also and handle the conversion to strings automatically. Also make it more consistent so that all bools are converted to exactly true and false strings, let's say

Solution

I think overloading is the best solution, but might be missing something

Alternatives

No response

Anything else we should know?

Just noting it down as something I noticed that could be improved

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