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

DataLoader dependency conflict #83

Closed
chloe-meister opened this issue Jan 29, 2024 · 5 comments
Closed

DataLoader dependency conflict #83

chloe-meister opened this issue Jan 29, 2024 · 5 comments

Comments

@chloe-meister
Copy link
Contributor

chloe-meister commented Jan 29, 2024

Hi there 👋

I'm having a bit of an issue implementing the library in my project: we use the latest version of DataLoader, which conflict with the requirements for absinthe_federation.

Would it be possible to allow both version ~> 1.0 and 2.0 as in Absinthe?

It seems OK to me as you're not defining a custom DataLoader protocol anywhere. I'd be happy to implement it if you're ok with it of course.

@kdawgwilk
Copy link
Collaborator

Yeah loosening up those requirements seems okay to me

@chloe-meister
Copy link
Contributor Author

Very good! I will get to it.

A bit of a sidetrack, but I've noticed while playing around the codebase that attempting to run tests with Absinthe 1.7 fails, most notably test/absinthe/federation/notation_test.exs. It looks to me like there might be an issue with the link macro under Absinthe 1.7.

I could try to have a better look and maybe fix it in the PR in which I would relax the DataLoader requirements? Else I'm happy to open a proper issue for this one as it's un-related.

@kzlsakal
Copy link
Collaborator

Hi! The bug that causes the error for the link directive was introduced by the absinthe version 1.7 and there's an issue about it: https://github.com/absinthe-graphql/absinthe/issues/1279 (not linking directly so it doesn't tag this unrelated issue on it).

@chloe-meister
Copy link
Contributor Author

Oh right, thanks for letting me know!

@chloe-meister
Copy link
Contributor Author

I am closing this issue as it is being addressed 🙏

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

No branches or pull requests

3 participants