map_mapper_annotations 4.2.0 copy "map_mapper_annotations: ^4.2.0" to clipboard
map_mapper_annotations: ^4.2.0 copied to clipboard

Contains annotations and mappers to allow the mapping between PODOs and Map<String, dynamic> maps used to interact with document databases

4.2.0 #

  • FEAT: updated dependencies.

4.1.0 #

  • FEAT: Added nullFallback field in MapField annotation.

4.0.1 #

  • FIX: Upgraded max Dart version to <4.0.0.

4.0.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

4.0.0-dev.4 #

  • FIX: KeyHandler set to empty by default.

4.0.0-dev.3 #

  • FIX: Updated dependency.

4.0.0-dev.2 #

  • FIX: Changed repository URL.

4.0.0-dev.1 #

  • FEAT: removed dependecy from squarealfa_common_types.

4.0.0-dev.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: Huge upgrade to proto_generator.

3.2.1 #

  • Update a dependency to the latest release.

3.2.0 #

  • FEAT: Added isKey field to MapField annotation.

3.1.1 #

  • Supporting mapping enum to string

3.1.0 #

Changes #

  • Moved source code repository from GitHub to GitLab
  • Adopted Melos and GitLab as CI solution
  • Changed license to MPL

Rationale for source code hosting change #

The change from source code repository is in protest by this project's initial and main author with what he views as GitHub's extremely week response to the carnage going on in Ukraine by Russia. He would have expected at a minimum for any new business in Russia and Belarus to be suspended, which was incidentally GitLab's course of action.

3.0.4 #

  • Support for polymorphism.

Now @MapMapped() has a new property called knownSubClasses. This is a list of types of subclasses of the type to which the annotation is applied. Each of these subclasses much also have the @MapMapped() annotation.

By identifying the known subclasses, toMap() and fromMap() methods become polymorphic.

3.0.3 #

  • Updated dependencies

3.0.2 #

  • Added support for DateTimeRepresentation

3.0.1 #

  • Updated dependencies

3.0.0 #

Breaking changes #

  • Changed default duration precision from milliseconds to microseconds

2.0.0 #

  • Removed KeyHandler as a dependency and added as build generator (and many other breaking changes).

1.2.1 #

  • Added reference to integrating framework.

1.2.0 #

  • Removed redundant base classes

1.1.0 #

  • Removed deprecated nullableFieldsByDefault property from annotations

1.0.0 #

  • Initial version
0
likes
160
points
744
downloads

Publisher

verified publishersquarealfa.com

Weekly Downloads

Contains annotations and mappers to allow the mapping between PODOs and Map<String, dynamic> maps used to interact with document databases

Homepage
Repository (GitLab)
View/report issues
Contributing

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

json_annotation

More

Packages that depend on map_mapper_annotations