elixir-cloud-aai / proTES

Proxy service for injecting middleware into GA4GH TES requests
Apache License 2.0
5 stars 6 forks source link

Middleware called before task is created #132

Closed Ayush5120 closed 1 year ago

Ayush5120 commented 1 year ago

The middleware is called before the task is even created, which results in a modified incoming task request and we can never store the unmodified copy of the original request The ideal way is that the incoming task request is stored first in the database and then the middleware is called