Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@admin-bro/mongoose

Mongoose adapter for admin-bro

readme

@admin-bro/mongoose

This is an official AdminBro adapter which integrates mongoose ORM into admin-bro.

OpenSource SoftwareBrothers community

Usage

The plugin can be registered using standard AdminBro.registerAdapter method.

const AdminBro = require('admin-bro')
const AdminBroMongoose = require('@admin-bro/mongoose')

AdminBro.registerAdapter(AdminBroMongoose)

More options can be found on AdminBro official website.

License

AdminBro is Copyright © 2018 SoftwareBrothers.co. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About SoftwareBrothers.co

We’re an open, friendly team that helps clients from all over the world to transform their businesses and create astonishing products.

  • We are available for hire.
  • If you want to work for us - checkout the career page.

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changelog maintained after version 0.3.1

Version v0.5.2b - 02.05.2020

Added

  • [#318] added isRequired field

Version 0.5.1 - 09.04.2020

Added

  • handling of duplication error (unique constrain)

[0.5.0] - 04.04.2020

Changed

  • change ValidationError interface that it is aligned with AdminBro v2.2
  • parse params works recursively

Fixed

  • fix error where old params were returned after updating the record

[0.4.2] - 14.03.2020

Changed

  • Resource.build changes IDs from BSON object to strings by default

[0.4.1] - 04.03.2020

Changed

  • remove obsolete console.warn

[0.4.0] - 01.01.2020

Added

  • add position field
  • add findMany to resource

[0.3.1] - 2019-12-17

Fixed

  • multiple fixes on nested objects