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

feat: add cascade support to queries #92

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

tprebs
Copy link
Contributor

@tprebs tprebs commented Sep 6, 2021

Adds full cascade support for queries supporting an optional list of predicates. This allows the cascade definition to be managed separately to the query (current solution mentioned in #85)

  • q.Cascade() resolves to @cascade
  • q.Cascade("predicateA") resolves to @cascade(predicateA)
  • q.Cascade("predicateA","predicateB") resolves to @cascade(predicateA,predicateB)

@carwyn
Copy link

carwyn commented Sep 14, 2021

This would be really useful!

@wildan2711
Copy link
Member

Thanks again @tprebs. Looks good to merge!

@wildan2711 wildan2711 merged commit 27731ea into dolan-in:master Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants