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

Allow hydrated instances to enter into the adapter #131

Open
DesignByOnyx opened this issue Jun 27, 2017 · 0 comments
Open

Allow hydrated instances to enter into the adapter #131

DesignByOnyx opened this issue Jun 27, 2017 · 0 comments

Comments

@DesignByOnyx
Copy link
Contributor

DesignByOnyx commented Jun 27, 2017

This covers situations where a user might want to instantiate a model in the "before" phase of a service. This is useful if a user wants to trigger getters/setters/validations and/or using the hydrate hook in the "before" phase. There may be other use cases where a user instantiates an ORM model and it should not cause the service fail. Furthermore, the same exact model instance should be returned.

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