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

Create Get EventHandler #223

Open
huzzi opened this issue Sep 6, 2023 · 1 comment
Open

Create Get EventHandler #223

huzzi opened this issue Sep 6, 2023 · 1 comment

Comments

@huzzi
Copy link
Contributor

huzzi commented Sep 6, 2023

We're trying to use an injected class to modify a property on the entity. We tried create a custom repository using DefaultUIOMaticRepository and make use of the GetById method but it seem like dependency injection is supported for custom repository.

Is it possible for a new event to be added to the UIOMaticObjectService ?

public static event EventHandler<ObjectEventArgs> GetObject;

This way we'll be able to modify the entity easily as dependency injection works for the event handler.

@TimGeyssens
Copy link
Owner

Happy to accept a pull request

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

2 participants