paint-brush
Using Shapeless For Programming In Scala To Write A REST APIby@juliano-alves
132 reads

Using Shapeless For Programming In Scala To Write A REST API

by Juliano Alves5mApril 28th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Shapeless is a library for generic programming in Scala. It is largely present in the ecosystem, but mostly behind the scenes. It powers some of the libraries in your project, even though you don’t use it directly. Shapeless can create an Heterogenous List as a generic representation of case classes. We need to transform the request request into a generic type class using shapeless. We will build our solution using ToMap: (ToMap) instead of just ToMap)

Company Mentioned

Mention Thumbnail
featured image - Using Shapeless For Programming In Scala To Write A REST API
Juliano Alves HackerNoon profile picture
Juliano Alves

Juliano Alves

@juliano-alves

Open-source enthusiast, a firm believer that future belongs to polyglot and functional programming

Learn More
LEARN MORE ABOUT @JULIANO-ALVES'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Juliano Alves HackerNoon profile picture
Juliano Alves@juliano-alves
Open-source enthusiast, a firm believer that future belongs to polyglot and functional programming

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here