Additional Configuration/Options for Debug Process Plugin

Created on 28 January 2025, about 1 month ago

Problem/Motivation

It's often helpful to debug data within a migration's processing other than a single source or destination value.

Steps to reproduce

N/A

Proposed resolution

Provide additional configuration options to the debug migration process plugin to allow inspection of other data that may be pertinent to a developer.

Remaining tasks

Review, merge, etc.

User interface changes

None.

API changes

Adds a dump configuration attribute that will allow the migration developer to specific which data is desired to be dumped. Defaults to existing functionality if this is omitted.

Data model changes

N/A

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kerasai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kerasai
  • πŸ‡ΊπŸ‡ΈUnited States kerasai

    Patch attached.

  • πŸ‡³πŸ‡±Netherlands batigolix Utrecht

    This needs documentation in the readme.

    This example is missing the source key and should use the same example field name as the other examples. And maybe use another options as example a "source" may be confusing. It should be something like:

    * @code
     * process:
     *   field_tricky:
     *     -
     *       plugin: debug
     *       dump: source_ids
     *.      source: whatever
     * @endcode
     *
     * This will print all IDs from the source. Options for the "dump"
     * configuration are:
    
Production build 0.71.5 2024