-
Notifications
You must be signed in to change notification settings - Fork 275
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
modify Context::upsert() #1073
modify Context::upsert() #1073
Conversation
Remove the `default` parameter and require upserted values to implement Default.
✅ Deploy Preview for apollo-router-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
This comment has been minimized.
This comment has been minimized.
This looks great! I m not sure I'd like to get rid of the ability to perform an EDIT: nevermind, we re calling the update callback regardless, so it s totally fine |
No one could think of a good reason to provide that ability, so my proposal is that we could always add a |
Remove redundant comment from code.
Remove the
default
parameter and require upserted values to implementDefault.
fixes: #1070