-
Notifications
You must be signed in to change notification settings - Fork 338
feat: allow user defined callbacks to extend graph callbacks #1287
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
Conversation
| ...options, | ||
|
|
||
| // extend the callbacks with the ones from the config | ||
| callbacks: combineCallbacks(this.config?.callbacks, options?.callbacks), |
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.
Should we be adding this in other places too?
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.
other places being recursion limit? im not sure cc @dqbd
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.
for posterity: other places means other functions like stream
Fixes # (issue)