Skip to content

Ability to Register Model / Module at Run Time #187

@geraldbiggs

Description

@geraldbiggs

I have a large application with many relationships to manage where I think vuex orm could speed up my workflow. I searched the documentation to try and understand what is currently possible, below are my questions:

My use case falls under a circumstance where the user goes through complex interactions, which may result in additional modules (components, store modules, etc) being loaded in under the resulting context.

Is there a method to register & load additional model & modules with vuex-orm after initial load?

Additionally, are all vuex-orm modules "flattened" under entities?

entities/elements/earth,
entities/elements/air,
entities/elements/fire
vs.
entities/earth,
entities/air,
etc

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreleasedThe issue was implemented and it is released publicly

    Type

    No type
    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