Skip to content
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

fix: Use proper type name for op #2584

Merged
merged 3 commits into from
May 14, 2020
Merged

fix: Use proper type name for op #2584

merged 3 commits into from
May 14, 2020

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented May 14, 2020

Use the name of type for op instead of always mark.

@HazAT HazAT requested a review from a team May 14, 2020 08:24
@HazAT HazAT requested a review from kamilogorek as a code owner May 14, 2020 08:24
@HazAT HazAT self-assigned this May 14, 2020
@@ -493,8 +493,8 @@ export class Tracing implements Integration {
case 'paint':
case 'measure':
const mark = transactionSpan.child({
description: `${entry.entryType} ${entry.name}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd either coerce both to strings, or none for consistency (using template literals)

@getsentry-bot
Copy link
Contributor

getsentry-bot commented May 14, 2020

Fails
🚫

TSLint failed: @sentry/integrations

  • ERROR: /home/travis/build/getsentry/sentry-javascript/packages/integrations/src/vue.ts[8, 24]: Type assertion on object literals is forbidden, use a type annotation instead.
  • ERROR: /home/travis/build/getsentry/sentry-javascript/packages/integrations/src/vue.ts[239, 37]: Unsafe use of expression of type 'any'.
  • ERROR: /home/travis/build/getsentry/sentry-javascript/packages/integrations/src/vue.ts[310, 11]: Unsafe use of expression of type 'any'.
Messages
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 17.127 kB) (ES6: 16.1582 kB)

Generated by 🚫 dangerJS against 18dd819

@kamilogorek kamilogorek self-requested a review May 14, 2020 09:02
@HazAT HazAT merged commit f984dc8 into master May 14, 2020
@HazAT HazAT deleted the hazat/mark-name branch May 14, 2020 10:36
@Sija
Copy link
Contributor

Sija commented May 14, 2020

No test coverage for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants