Skip to content

[FEEDBACK] Can cover your thoughts on value object? #23

@simkimsia

Description

@simkimsia

Hi there, i like what you're trying to do with modernising django to use DDD

There's another DDD related book called cosmic python whose authors recommend this DDD pattern called value object

They use python 3.7 dataclass and froze it.

Was wondering if you will cover on how to use value object in Django context. (At least >= Django 2.2)

Here's the relevant line https://github.com/cosmicpython/book/blob/3008a8a4be52e8dcaf5cb7447dd7f2b26f5d9b7d/chapter_01_domain_model.asciidoc#dataclasses-are-great-for-value-objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions