Skip to content

Fix Solid, SolidStart, and NestJS README snippet errors #24548

Description

@nicohrubec

Fix copy/paste errors in three package README examples so they use the correct imports.

Solid and SolidStart

In packages/solid/README.md and packages/solidstart/README.md, the examples import withSentryRouterRouting from the dedicated /solidrouter entry point but call it on the main Sentry namespace, which does not export it. Use the function already imported:

- const SentryRouter = Sentry.withSentryRouterRouting(Router);
+ const SentryRouter = withSentryRouterRouting(Router);

NestJS

The cron example in packages/nestjs/README.md imports MonitorConfig twice, causing a duplicate identifier. Keep the type-only import from @sentry/core:

- import { SentryCron, MonitorConfig } from '@sentry/nestjs';
+ import { SentryCron } from '@sentry/nestjs';
  import type { MonitorConfig } from '@sentry/core';

Activity

  1. linear-code commented on Sep 21, 2026

    @linear-code
  2. self-assigned this
    on Sep 21, 2026
  3. added a commit that references this issue on Sep 23, 2026
    ea27349
  4. github-actions commented on Sep 23, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #24571, which was included in the 11.0.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions