stac-fastapi icon indicating copy to clipboard operation
stac-fastapi copied to clipboard

Better middleware injection

Open geospatial-jeff opened this issue 3 years ago • 0 comments

The current middleware injection makes it difficult for users to configure the middleware they are injecting, see https://github.com/stac-utils/stac-fastapi/pull/341 and https://github.com/stac-utils/stac-fastapi/pull/341#issuecomment-1201581834.

There is no real advantage to abstracting middleware here, should just let the user configure and attach their own while providing sensible defaults.

geospatial-jeff avatar Aug 01 '22 18:08 geospatial-jeff