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

bug: Multiple data loaders found shown happens when handling requests #2005

Open
kzwang opened this issue Sep 11, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@kzwang
Copy link
Member

kzwang commented Sep 11, 2024

Please read our contributor guide before
creating an issue.

Expected behavior

When multiple data loaders are using @DgsDataLoader with the same name, it should validate that and fail early.

Actual behavior

App starts up successfully, but failed to handle requests with error "Multiple data loaders found"

Steps to reproduce

Note: A test case would be highly appreciated, but we understand that's not always possible

@kzwang kzwang added the bug Something isn't working label Sep 11, 2024
@paulbakker paulbakker assigned paulbakker and asibross and unassigned paulbakker Sep 12, 2024
@mrvaruntandon
Copy link
Contributor

@kzwang in which version you are seeing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants