metamorphose 0.6.7

Macros collection for converting Structure to Model, for a mango-orm project.
Documentation

Logo

metamorphose

Macros collection for converting Structure to Model, for a mango-orm project.

crates.io crates.io crates.io crates.io

Macros

Model

Macro for converting Structure to mango-orm Model. The model can access the database. The model can create, update, and delete documents in collections.

Requirements

Changelog

  • v0.6.0 The created_at and updated_at fields are automatically added to the Model. The widget type is inputDateTime and disabled = true, is_hide = true. Updated README.md. Updated documentation.
  • v0.5.4 Fixed ModelName::key() method. See documentation: mango_orm > models > ToModel.
  • v0.5.2 Import optimized.
  • v0.5.0 Added model attribute is_use_hooks. See documentation: mango_orm > models > hooks > Hooks.
  • v0.4.8 Fixed error message text.
  • v0.4.6 Updating by version of dependencies.
  • v0.4.4 Optimization of the validation mechanism.
  • v0.4.3 Improved validation for Slug fields.
  • v0.4.2 Removed hiddenSlug field.
  • v0.4.1 Added is_hide parameter for Widgets.
  • v0.4 Added inputSlug and hiddenSlug fields.
  • v0.3 Removed the Form macro.

License

This project is licensed under the MIT and Apache Version 2.0