@nestjs-dash/adapter
v1.1.0
Published
ORM-agnostic adapter SPI (ResourceAdapter/PropertyAdapter/DatabaseAdapter), column-capability precedence resolver, and entity decorators for NestJS Dash
Readme
@nestjs-dash/adapter
ORM-agnostic adapter SPI for NestJS Dash: ResourceAdapter, PropertyAdapter, DatabaseAdapter, column-capability precedence (Resource Builder > Entity Decorator > Adapter Default), and entity decorators (@Sortable, @Searchable, @Filterable, …).
You normally consume this transitively through @nestjs-dash/core (re-exports) or a concrete ORM package (@nestjs-dash/typeorm, @nestjs-dash/mikroorm, @nestjs-dash/prisma, @nestjs-dash/in-memory). Depend on @nestjs-dash/adapter directly only when implementing a custom adapter or using the conformance test kit.
Install
pnpm add @nestjs-dash/adapterTesting helpers
import {} from /* contract helpers */ '@nestjs-dash/adapter/testing';See Adapters for how shipped adapters bind resources.
License
MIT
