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 to pass resource as context to input filter #147

Merged
merged 1 commit into from
Apr 19, 2014
Merged

Conversation

bakura10
Copy link
Member

Hi,

This is the associated PR to zendframework/zendframework#6154 and doctrine/DoctrineModule#406

It allows to implement things like an update form that has a field that must be unique (email). Because ZfrRest directly fetches an entity, having this entity as context allows to such validators to work.

ping @danizord

@Ocramius Ocramius self-assigned this Apr 17, 2014
@bakura10
Copy link
Member Author

I'm merging for now. @Ocramius please tell me what you need to merge the doctrinemodule PR :)

bakura10 added a commit that referenced this pull request Apr 19, 2014
Allow to pass resource as context to input filter
@bakura10 bakura10 merged commit 335a424 into master Apr 19, 2014
@bakura10 bakura10 deleted the pass-context branch April 19, 2014 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants