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

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

Open
LordSyd opened this issue Dec 22, 2023 · 0 comments

Comments

@LordSyd
Copy link

LordSyd commented Dec 22, 2023

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. :)

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

No branches or pull requests

1 participant