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

Formatting on enum properties. #396

Open
redactedontop opened this issue Dec 20, 2024 · 2 comments
Open

Formatting on enum properties. #396

redactedontop opened this issue Dec 20, 2024 · 2 comments

Comments

@redactedontop
Copy link

Hallo!

I'm using enum properties for a project, and I want 2 props: pid & code. Right now, I have to set code as the result of to_string, as I want a "custom" enum field.
Could formatting (like {0}) be implemented on enum properties?

Thanks,
Alex <3

@redactedontop
Copy link
Author

@wwqwq2313 Why write a separate function? Implement it in the same function.

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

2 participants
@redactedontop and others