Skip to content

Encryption schema is being loaded multiple times #501

Description

@d-klotz

The encryption schema is currently being loaded multiple time during the lambda invocation. Ideally this schema should be loaded once and then re-used by the methods that need it.

Currently it is initialized in the documentdb-encryption-service.js via loadCustomEncryptionSchema() and in prisma.js also via loadCustomEncryptionSchema()

Frigg logs:

[Frigg] Registered custom encryption schema for models: User
[Frigg] Field-level encryption enabled using AES
[Frigg] Registered custom encryption schema for models: User
[Frigg] Registered custom encryption schema for models: User
[Frigg] Registered custom encryption schema for models: User
[Frigg] Registered custom encryption schema for models: User

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