Skip to content

Add an include mode for infra.apply #117

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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