Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] access to entity name in processor #215

Open
slukes opened this issue Aug 28, 2023 · 2 comments
Open

[Feature request] access to entity name in processor #215

slukes opened this issue Aug 28, 2023 · 2 comments
Assignees

Comments

@slukes
Copy link
Contributor

slukes commented Aug 28, 2023

Hello,

I am writing a custom Processor which can be used for several of my models, but in which I need to have access to the name of the table.

Currently I am working around this by creating an abstract processor and one concrete implementation per table. The concrete implementation returns just the name of the entity.

Suggestion: pass the definition of the fixture in the constructor of the processor to be able to access this kind of metadata.

Would be happy to contribute if you agree.

@GhettoBurger996
Copy link

@slukes this is feature that really seems it should be part of the package! Would love to get involved in contributing to this as well. @RobinCK

@slukes
Copy link
Contributor Author

slukes commented Sep 24, 2023

In the end I got around this issue in another way, but would still be happy to help with a PR @GhettoBurger996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants