Skip to content

Add prelude module to generated server crate #1878

@hlbarber

Description

@hlbarber

The purpose of a prelude module is to re-export items commonly used in everyday use of the library. Adding it to the generated crate would mean customers (and our own examples) wouldn't have to use pokemon_service_server_sdk::... repeatedly to collect all the base imports.

Proposed items to re-export:

  • service::*
  • operation_shape::*
  • InstrumentExt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions