Skip to content

Can we get an official interface for ctx.meta.$ fields available in moleculer-web? #346

Open
@LordSyd

Description

@LordSyd

Hi,

it seems there is no "official" interface that describes all available ctx.meta fields in moleculer-web. Something similar to the interface available in main moleculer would be great:

interface ServiceSettingSchema {
  $noVersionPrefix?: boolean;
  $noServiceNamePrefix?: boolean;
  $dependencyTimeout?: number;
  $shutdownTimeout?: number;
  $secureSettings?: string[];
  [name: string]: any;
}

Of course I can write this myself for now, it would just be convenient to have something official for the off chance that something in this $-fields changes. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions