awslabs / project-lakechain

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

Bug: Conditionals are bound via middleware name, not instance #5

Open HQarroum opened 10 months ago

HQarroum commented 10 months ago

Expected Behaviour

In the Middleware class, conditionals are associated with middlewares by name, instead of by instance. This could cause confuded conditional retrieval when using multiple instances of the same middleware.

Current Behaviour

Bind conditionals per middleware instance or CDK resource name which are both guaranteed to be unique.

Code snippet

No response

Steps to Reproduce

No response

Possible Solution

No response

Project Lakechain version

latest

Execution logs

No response