@wearesage/schema
    Preparing search index...

    Function Entity

    • Entity decorator - marks a class as an entity to be persisted

      This decorator no longer directly registers with a registry. Instead, it stores metadata on the class that can be later processed by SchemaBuilder.

      Parameters

      Returns <T extends new (...args: any[]) => any>(target: T) => T