Interesting. What exactly is the use case for using the .reverse method? Wouldn't you just be able to utilize the map method for the same thing?
That's to convert the dto to model. In case if you are receiving the response in dto you can use reverse method that will give you the model back. Currently the benchmark is not good. I have couple of ideas to improve the benchmarks too.
Ah I see. Okay I didn't completely understand its purpose is all. Seems like a nice small implementation of a mapper.
Will write a complete readme for that
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Interesting. What exactly is the use case for using the .reverse method? Wouldn't you just be able to utilize the map method for the same thing?
That's to convert the dto to model. In case if you are receiving the response in dto you can use reverse method that will give you the model back. Currently the benchmark is not good. I have couple of ideas to improve the benchmarks too.
Ah I see. Okay I didn't completely understand its purpose is all. Seems like a nice small implementation of a mapper.
Will write a complete readme for that