awslabs / project-lakechain

:zap: Cloud-native, AI-powered, document processing pipelines on AWS.
https://awslabs.github.io/project-lakechain/
Apache License 2.0
115 stars 22 forks source link

Feature request: Implement onCreate() method for middlewares #3

Open HQarroum opened 8 months ago

HQarroum commented 8 months ago

Use case

Middlewares require to manually call the super.bind() function when they are constructed. There are currently no hooks for a middleware to know when a subclass implementation is done creating its constructs.

Solution/User Experience

We propose the creation of an onCreate method allowing middlewares to override it and create their resources as part of it.

Alternative solutions

No response