So i built a thing: SQL transport http passthrough https://docs.particular.net/transports/sql/sql-http-passthrough
I have a design decision i am unsure about. Currently if an invalid http request comes in, the client is returned a BadRequest 400 is returned to the client. https://docs.particular.net/transports/sql/sql-http-passthrough#usage-server-side-exception-behavior
An alternate way of handling this would be writing the request to a sql error queue and returning a success to the client.
So… thoughts? if a bad request is detected, should that bubble back to the client or go to a sql queue?