Skip to content

Add an include mode for infra.apply #117

@sdascoli

Description

@sdascoli

In some cases where we know exactly on which model field an infra should depend, it would be much easier and safer to have a mode infra.apply(include_in_cache_uid).
Easier because it avoids copying all model fields.
Safer because if we subsequently add fields during the class development, we don't have to remember to add the new field in the exclude_from_cache_uid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions