GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(core): Return client from init method by chargome · Pull Request #12585 · getsentry/sentry-javascript Conversation
Member
fixes #12495
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
chargome
requested review from
a team,
AbhiPrasad and
s1gr1d
and removed request for
a team
AbhiPrasad
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. m: Although we always return a top-level client here, making this
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes you're right, will update that!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
chargome
marked this pull request as draft
|
There was an error while loading. Please reload this page.
size-limit report 📦
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think it would be nice to eventually get to a place where this does not need to return Client | undefined as it makes stuff less ergonomic for users, but it's fine for now and we can make the return type stricter later if we want. So let's go with this for now! 👍
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
34d8355 to
febc201
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Return client frominit methods
There was an error while loading. Please reload this page.