-
Notifications
You must be signed in to change notification settings - Fork 3
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
carbon and morphoji #39
Comments
A few packages in our app required carbon
|
IMO, that isn't a normal string conversion and handling strings with emoji or any other special display should have its own transformer. |
yea. that makes sense. do you want to put in a PR or should I do it? |
@ruskiyos You can put in the PR, since you'll have to merge it anyway. I think there might be an interest in having the emoji transformer, but I think it should be its own thing. |
if only there was a way to combine transformers. e.g.:
then we could have individual transformers doing only one job, otherwise our generic string transformer is emoji transformer which also does html entity encoding. |
I've actually been thinking about that and also thinking about being able to use different combinations for how it get transformed. In my current project, I need to transform the UUID as the string output for the client side, but I need it as the hex for a different usage, but I need them as objects in an object. |
We've still ended up with the emoji being a requirement for string. Also, the way the multiple transformer is working, it's not able to handle transforming a collection of strings |
Why not? If you added |
Why was carbon bumped up to
^1.22
? Could it not be^1.21
?Shouldn't
morphoji
be a suggestion instead of a requirement?@alexcoffee
The text was updated successfully, but these errors were encountered: