inversify/InversifyJS

View on GitHub
.github/ISSUE_TEMPLATE/bug_report.yml

Summary

Maintainability
Test Coverage
name: "\U0001F41B Bug Report"
description: "If something isn't working as expected \U0001F914"
labels: ["needs triage"]
body:
    - type: markdown
      attributes:
          value: |
              ## :warning: We use GitHub Issues to track bug reports and feature requests

              If you are not sure that your issue is a bug, you could:

              - use our [Discord community](https://discord.gg/jXcMagAPnm)
              - use [StackOverflow using the tag `inversifyjs`](https://stackoverflow.com/questions/tagged/inversifyjs)

              **NOTE:** You don't need to answer questions that you know that aren't relevant.

              ---

    - type: checkboxes
      attributes:
          label: "Is there an existing issue for this?"
          description: "Please search [here](https://github.com/inversify/InversifyJS/issues) to see if an issue already exists for the bug you encountered"
          options:
              - label: "I have searched the existing issues"
                required: true

    - type: textarea
      validations:
          required: true
      attributes:
          label: "Current behavior"
          description: "How the issue manifests?"

    - type: textarea
      attributes:
          label: "Steps to reproduce"
          description: |
              How the issue manifests?
              You could leave this blank if you can't reproduce it, but please provide as much information as possible
          placeholder: |
              1. `npm ci`
              2. `npm start:dev`
              3. See error...

    - type: textarea
      validations:
          required: true
      attributes:
          label: "Expected behavior"
          description: "A clear and concise description of what you expected to happened (or code)"

    - type: textarea
      validations:
          required: false
      attributes:
          label: "Possible solution"
          description: "If you have a suggestion on how to fix the bug"

    - type: markdown
      attributes:
          value: |
              ---


    - type: input
      validations:
          required: true
      attributes:
          label: "Package version"
          description: |
              Which version of `inversify` are you using?
          placeholder: "6.0.1"

    - type: input
      attributes:
          label: "Node.js version"
          description: "Which version of Node.js are you using?"
          placeholder: "18.0.0"

    - type: checkboxes
      attributes:
          label: "In which operating systems have you tested?"
          options:
              - label: macOS
              - label: Windows
              - label: Linux

    - type: markdown
      attributes:
          value: |
              ---

    - type: textarea
      attributes:
          label: "Stack trace"
          description: "If you have a stack trace, please include it here"

    - type: textarea
      attributes:
          label: "Other"
          description: |
              Anything else relevant? eg: Logs, OS version, IDE, package manager, etc.
              **Tip:** You can attach images, recordings or log files by clicking this area to highlight it and then dragging files in