Skip to content

Callback to know if the dcl schema has been totally processed. #151

@JavierSegoviaCordoba

Description

@JavierSegoviaCordoba

Even if it sounds bad as it remembers to afterEvaluate, here the schema is deterministic, so I would like to have a callback which is invoked when the whole schema has been processed to allow using flags that will be resolved in configuration phase, but not Property, as they are oriented to configure tasks.

For example, based on an enabled flag, I would like to decide if I apply or not a plugin, and that is done in the configuration phase after the whole schema has been processed to ensure nested values modified by the user are already with the correct value in the callback.

Another valid example could be not registering tasks (note: it is not registering them at all, no disable them with onlyIf).

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