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

[Suggestion] change type and prettyType to name and prettyName #17

Open
cedvdb opened this issue Nov 3, 2023 · 1 comment
Open

[Suggestion] change type and prettyType to name and prettyName #17

cedvdb opened this issue Nov 3, 2023 · 1 comment

Comments

@cedvdb
Copy link

cedvdb commented Nov 3, 2023

The reason is things like this are hard to understand:

creditCard.type.type

Would be more readable with

creditCard.type.name
@cholojuanito
Copy link
Owner

I'll definitely consider that. I haven't done much with this repo in a few months. I suppose this would make for a breaking change though.

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