Skip to content

"new" doesnt fire creating or created hook #801

@Maqsyo

Description

@Maqsyo

Environment

  "dependencies": {
    "pinia": "2.0.28",
    "pinia-orm": "1.4.0",
    "vue": "3.2.45"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0-0",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^7.0.0-0"
  },

Reproduction

https://codesandbox.io/s/young-cloud-odi2kr?file=/src/App.vue

Describe the bug

if calling new from repository the hooks for creatingand created not getting called.

Click on "console" and afterwards on the buttons. you will see, that "new" wouldnt trigger these hooks

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions