1.8.1 • Published 11 days ago

@moirei/dobby v1.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

@moirei/dobby

Dobby is a GraphQL query builder and CRUD client that makes working with graphql data sources and object models enjoyable. It's patterned after the OpenCRUD standard with Prisma and Laravel Lighthouse backends in mind.

import User form '~/models/user'
...

const users = await User.select('id', 'name', 'email')
                        .with('posts')
                        .findMany();

Documentation

All documentation is available at the documentation site.

:green_heart: Unique Features

  • Basic CRUD operations
  • Declarative and extensible Data Models and Object-relational mapping
  • Flexible Query Builder for progressively defining complex query fields and relationships
  • Models Attributes casting and mutation
  • Adapters to make working with workspaces and different backends easy
  • Model Hooks make it possible to further configure how individual models handle common CRUD operations.

Installation

You can install the package via npm:

npm i @moirei/dobby

Changelog

Please see CHANGELOG.

License

The MIT License (MIT). Please see License File for more information.

1.8.1

11 days ago

1.8.0

22 days ago

1.7.3

11 months ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago