-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ref(profiling): Merge profile provider for both modes #83338
ref(profiling): Merge profile provider for both modes #83338
Conversation
This merges the 2 providers for transaction and continuous type profiles into 1 so that we can pass either type of profile to it anywhere instead of having 2 different providers.
}, | ||
[setProfiles] | ||
); | ||
const onImport = useCallback(() => {}, []); |
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.
This is actually broken, so l disabled it for now and we'll see if we can add it back later or remove it entirely.
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.
Safe to remove imo, I can take care of it
}, | ||
includeAllArgs: true, | ||
}) | ||
.then(([data]) => data.chunk); |
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.
I guess. we dont really need includeAllArgs if we just access data afterwards. Is this some old copy paste relic?
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.
yes, gonna leave it in for now
This merges the 2 providers for transaction and continuous type profiles into 1 so that we can pass either type of profile to it anywhere instead of having 2 different providers.
This merges the 2 providers for transaction and continuous type profiles into 1 so that we can pass either type of profile to it anywhere instead of having 2 different providers.