Author: Miral Gandhi

Trying to use form field and file upload directive together in Akka-Http?

If you are reading this then probably you have encountered the issue that comes while accessing fields with uploading a file, and if not then let me first tell you what’s the situation that I’m talking about here, Let’s see the code where we try to use fileUpload directive and formFields together

Error Handling Using EitherT

Are you aware of Either, if yes then you must know how it’s use for error handling , but don’t you think things get messy when it is┬áplaced into effectful types such as Option or Future, a large amount of boilerplate is required to handle errors.

Table Driven Approach For Testing

Most of us would have been in a situation where multiple test cases are same but the input data isn’t, Or even when input data is same and is used for multiple test cases. So In cases like these we can use Table driven approach, it is a way of testing that allows you to write minimal test code with increased readability.

%d bloggers like this: