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

No hideMeta options in constructor Graceful #16

Open
3 tasks done
lechuhuuha opened this issue Apr 26, 2024 · 0 comments
Open
3 tasks done

No hideMeta options in constructor Graceful #16

lechuhuuha opened this issue Apr 26, 2024 · 0 comments
Labels

Comments

@lechuhuuha
Copy link

Describe the bug

Node.js version: v20.5.0

OS version: ubuntu 22.04

Description: There is no options for hideMeta when create new Graceful class????

Actual behavior

Object literal may only specify known properties, and 'hideMeta' does not exist in type 'GracefulOptions'.ts(2353)

Expected behavior

should be able to define hideMeta options in constructor

Code to reproduce

const graceful = new Graceful({
  logger: logger,
  servers: [server],
  customHandlers: [
    async () => {
      await mongoManager.disconnect();
      cronjobManager.stop();
      // this close all socket conneted to server and close server
      socketServer.close();
    },
  ],
  hideMeta : false,
});

Checklist

  • I have searched through GitHub issues for similar issues.
  • I have completely read through the README and documentation.
  • I have tested my code with the latest version of Node.js and this package and confirmed it is still not working.
@lechuhuuha lechuhuuha added the bug label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant