Skip to content

No hideMeta options in constructor Graceful #16

Description

@lechuhuuha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions