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

New herb, complement a herb or use some market lib to transforms and conversions? #12

Open
endersoncosta opened this issue Nov 11, 2021 · 6 comments
Labels
hacktoberfest help wanted Extra attention is needed question Further information is requested severity-minor Item is not urgent

Comments

@endersoncosta
Copy link

Hello everyone, seen that we need to construct some conversors, like camelcase conversor, or any other conversor like this Anchorme.js, that converts string to an html with an anchor link, for example.

What is your perception about this theme?

Talking with @jhomarolo he do a suggestion to use the suma to realize the conversions, since some conversions like camelcase for example can be validated and used to another purpose and validations.

But in my opinion, we can create a new herb if we need, for me, the suma is something to improve de precision of our entities, and this conversor can be more generalist and do not have an accuracy too big, with the intention of improve versatility of the system.

And we can continue creating generic codes or using any js libs to do this conversions and transformations...

@endersoncosta endersoncosta added the question Further information is requested label Nov 11, 2021
@italojs
Copy link
Member

italojs commented Nov 11, 2021

Already exists so much libs that do it, I'm not sure build a new lib to do that is a good ideia

@jhomarolo
Copy link
Contributor

Already exists so much libs that do it, I'm not sure build a new lib to do that is a good idea

I agree with you, but the proposal is to build herbs with minimal dependencies. And the idea is just to remove the conventions that already exists in other herbs libs and reduce code duplicity

@jhomarolo jhomarolo added help wanted Extra attention is needed severity-minor Item is not urgent labels Dec 24, 2021
@dalssoft
Copy link
Member

I think it would be ok to have a new herb/lib just for that.

Since many herbs and glues allow custom naming convention, I think it could be useful.

Just to make it clear: the propose of such lib would be to have string transformations (camelcase, for example). is that right?

@jhomarolo jhomarolo changed the title New herb, complement a herb or use some marcket lib to transforms and conversions? New herb, complement a herb or use some market lib to transforms and conversions? Jan 25, 2022
@jhomarolo
Copy link
Contributor

I think it would be ok to have a new herb/lib just for that.

Since many herbs and glues allow custom naming convention, I think it could be useful.

Just to make it clear: the propose of such lib would be to have string transformations (camelcase, for example). is that right?

For now, I think the main proposal is work with transformations, not only pure string, but if necessary work with subtypes like json, XML, hexadecimals etc

@dalssoft
Copy link
Member

not only pure string, but if necessary work with subtypes like json, XML, hexadecimals etc

it's still not clear for me what the use cases here beyond string transformation (camelcase, for example) for naming conventions. we also have to ask ourselves if this scope is big enough for a new lib

@italojs
Copy link
Member

italojs commented May 4, 2022

I dont agree to create a new glue to do transformations, it's not a big resource/feature, it's could to be implemented inside some existent lib ooooor we could to use an existent open source lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest help wanted Extra attention is needed question Further information is requested severity-minor Item is not urgent
Projects
None yet
Development

No branches or pull requests

4 participants