Skip to content

Unify Serverpod Exports #3226

Open
Open

Description

@wanclem

I’m not sure if this is an issue per se, but I was wondering if there are any plans to introduce a unified export for all modules. Currently, it can be unclear where to import certain components from.

For example, when creating an Endpoint, the import suggestions include both server.dart and serverpod.dart:

Screenshot 2025-02-01 at 7 43 03 AM

It would be much clearer if only serverpod.dart appeared in the suggestions, ensuring that all imports come from a single, consistent source and reducing confusion.

The same applies to protocol imports:

Screenshot 2025-02-01 at 7 45 13 AM

I didn’t notice this confusion until I started creating multiple endpoints and found myself constantly checking previous imports, which really slows down development.

Thanks for serverpod!

Activity

  1. added
    ux
    enhancement
    breaking
    on Feb 13, 2025
  2. added this to the 3.0 Release milestone on Sep 18, 2025
  3. removed this from the 3.0 Release milestone on Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingenhancementux

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions