Navigation Menu

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

ExistsIn should apply association conditions #7968

Closed
GuidoHendriks opened this issue Jan 5, 2016 · 1 comment
Closed

ExistsIn should apply association conditions #7968

GuidoHendriks opened this issue Jan 5, 2016 · 1 comment
Assignees
Milestone

Comments

@GuidoHendriks
Copy link

I'm using an ExistsIn build rule with one of my association which has conditions. Since I'm explicitly checking for the existence in an association - not in a table - I would expect ExistsIn to use the association conditions to check for the existence.

My suggestion would be respecting the association conditions, so data integrity will be enforced. If there are conditions on an association which shouldn't be checked (I can't think of a reason for that, to be honest), you could still pass an instance of a table instead of the association name.

What are the opinions on this matter? I would be happy to implement this if you agree on this.

@lorenzo
Copy link
Member

lorenzo commented Jan 5, 2016

how did you setup the rule?

@dereuromark dereuromark added this to the 3.1.7 milestone Jan 5, 2016
@markstory markstory modified the milestones: 3.2.0, 3.1.7 Jan 6, 2016
@markstory markstory changed the title ExistsIn association conditions ExistsIn should apply association conditions Jan 6, 2016
@markstory markstory modified the milestones: 3.2.0, 3.3.0 Jan 30, 2016
@lorenzo lorenzo self-assigned this Mar 5, 2016
@lorenzo lorenzo closed this as completed Mar 5, 2016
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

4 participants