Echo JS 0.11.0

<~>

Ezequiel comments

Ezequiel 809 days ago. link 1 point
Hi Kali,

Thank you very much for taking the time to look at the library. I really appreciate it.

Answers below :)

> There are two ways of doing the same thing.

I should have explained that the "short way" is just a "sugar way" of writing the same things. The correct way is the "long way". But this point needs a better explanation.

Also, the "short way" is not as versatile as the "long way". You can do simple things, but no more. That is the intended use. I should explain this point too.

> I mean, what is the use case for piping through multiple schemas? Usually what you'd do is compose the various pipes into one.

You can create a pipe as the result of composing multiple pipes. And then apply that pipe to the desired fields.

But maybe you are going to use that pipe only once in your code. In that case I think that an array is better.

Thank you again for your comments. They are really helpful.