I’m using the brand-new guardrail (https://github.com/twilio/guardrail) to generate an Akka HTTP implementation based on a Swagger API definition. One of the GET methods in the specification appears to have more than 22 parameters. Regardless of whether this is a sound design choice (conceptually, it is a search request, so it maps well to GET) I’m trying to see if it would be possible to get this to work.
Akka HTTP’s Directive design is built around tuples, i.e. pretty much everything including parameter extraction is using tuples behind the scenes, which is to say that I can’t use the standard extraction mechanisms here (you can’t concatenate more than 22 parameters via the
I suppose it should be possible to build a custom extraction for this rather extreme case, but before going down that road, I was wondering if anyone else has had to do this before?