Skip to content

Make the document more clear and understandable #22

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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