Prisma Relay Cursor Connection Versions Save

Extend Prisma's `findMany` method to support Relay Cursor Connections.

v2.0.3

2 years ago

Chores

  • Add @prisma/client@^3.0.0 to the peer dependencies

v2.0.2

2 years ago

Bugfixes

  • Fix the Connection type not having a default Edge generic (Thanks to @nicksrandall)

v2.0.1

2 years ago

Bugfixes

  • Fix the types for custom nodes (Thanks to @ahmetuysal)

v2.0.0

2 years ago

Features

  • BREAKING Add the ability to define custom nodes (Thanks to @ahmetuysal)
    • The option nodeToEdge is now called recordToEdge
    • The interface Options<Record, Cursor, CustomEdge extends Edge<Record>> is now Options<Record, Cursor, Node, CustomEdge extends Edge<Node>>

v1.2.0

2 years ago

Features

  • Add the ability to define custom edges (Thanks to @ahmetuysal)

v1.1.0

2 years ago

Features

  • Add the ability to work with custom cursors & handle encoding/decoding cursors (Thanks to @jeongsd)

v1.0.1

2 years ago

Bugfixes

  • Fix not being able to use the module without passing args

v1.0.0

2 years ago

Initial release