Skip to content

Predicates in DataLoaders #130

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

Closed
wants to merge 4 commits into from
Closed

Predicates in DataLoaders #130

wants to merge 4 commits into from

Conversation

bbakerman
Copy link
Member

As discussed in #125

This allows for DataLoaders to have a individual predicates associated with them

The one thing the irks me is that

  • org.dataloader.registries.DispatchPredicate reside in a different package
  • boolean test(String dataLoaderKey, DataLoader<?, ?> dataLoader) takes a dataLoaderKey but this only applies in the registry case

However introducing a new DispatchPredicate elsewhere that is basically exactly the same irks me as well.

@bbakerman
Copy link
Member Author

This was proposed as an idea but rejected

@bbakerman bbakerman closed this Oct 2, 2023
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.

1 participant