Skip to content

add logs to plugin.import & export #213

@samuelstroschein

Description

@samuelstroschein

Context

Building plugins incrementally is easier if a plugin can emit warnings. Emitting warnings allows starting with a subset of a format that used by the majority of users before adding every feature of a format.

For example, i18next allows referencing other keys. Cool feature. But not supported in the inlang SDK and likely used by a tiny minority in the i18next community. Ignoring the message and emitting a warning "referencing

  "keyNesting": "reuse $t(keyDeep.inner)",

Proposal

Add an API to emit warnings.

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