Skip to content

Make the document more clear and understandable #22

Open
@huayuanzzb

Description

@huayuanzzb

I saw the following statement from the document:

if the key is not present in the language file the message fallbacks to ${defaultContext}.ERRORS.${errorType} (USER.REGISTRATION.NAME.MINLENGTH => GENERAL.ERRORS.MINLENGTH)

However, when I tried to use it, I found that it does not always work as described in the document.

After I read the source code, I found that only after injecting my own MESSAGES_PROVIDER, it can work normally.

So, can you modify the document so that others can better use this exciting project?

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