-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(feedback): Add getFeedback
utility to get typed feedback instance
#11331
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
Also ensure the `feedbackIntegration` returns a properly typed response.
Bundle ReportChanges will decrease total bundle size by 2.87MB ⬇️
|
size-limit report 📦
|
@@ -279,5 +282,3 @@ export const _feedbackIntegration = (({ | |||
}, | |||
}; | |||
}) satisfies IntegrationFn; | |||
|
|||
export const feedbackIntegration = defineIntegration(_feedbackIntegration); |
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.
Nice not to need this anymore!
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 reference, the reason we generally have this is because for most integrations, we do not want to expose to users what shape they have, as then we cannot refactor internals anymore - we only expose it if we have to (which we do for replay & feedback) :)
related to #10941 |
…nce (getsentry#11331) Also ensure the `feedbackIntegration` returns a properly typed response. This should make it easier to manually interact with feedbacks.
Also ensure the
feedbackIntegration
returns a properly typed response.This should make it easier to manually interact with feedbacks.