Skip to content

Cannot use env variable on boolean property  #128

@dragosv

Description

@dragosv

Mojito translation service plugin has a boolean property in the schema. When trying to use an env variable with it I get the following error

Exception occurred while processing configuration file: Data validation failed for plugin 'Serge::Sync::Plugin::TranslationService::mojito': '%ENV:ENV_VAR%' is not a valid boolean number

This is because subst_macros is applied after the validate_data in the base class.

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