-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix: Missing lru-cache dependency #4600
fix: Missing lru-cache dependency #4600
Conversation
signatureCache in usageReporting uses it, so it needs to be declared.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Ref: #4453
Does this break the use of v2.18 in some cases? Should I rush this out as a v2.18.2, since I think v2.19 is going to go out until next week due to @jsegaran 's schedule? |
I noticed problems with this when using yarn2 with PnP. Those problems can be worked around though. For completeness, this would locally resolve the issue through packageExtensions:
apollo-server-core@*:
dependencies:
lru-cache: "*" Without that override, users may be unable to start Apollo server if an Apollo Studio API key is provided and schema reporting is enabled. In such a case, users will see the following error:
Sorry for not providing the information initially. I was in a hurry :( |
Relates to #4453. Co-authored-by: Jesse Rosenberger <git@jro.cc>
Thanks, see #4628 |
signatureCache
inusageReporting
uses it, so it needs to be declared.