Skip to content

Add immutable option to make the tenantId field immutable #59

Description

@IvoFritsch

Mongoose has the property immutable for a field. It would be cool to add this option in the plugin.

for example: SomeSchema.plugin(mongoTenant, { ... , immutable: true });

Thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions