Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement kbss-cvut/termit-ui#505] Support for sending parameterized error messages to client #297

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

lukaskabc
Copy link
Collaborator

resolves kbss-cvut/termit-ui#505

the map attribute in ErrorInfo named as values to match attribute in Message on the FE

…zed localized messages in errors.

Any TermIt exception can now carry a messageId for localized message on the frontend as well as a map of parameters for the message. Parameters are sent to the frontend in the ErrorInfo as values map.
Copy link
Contributor

@ledsoft ledsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ledsoft ledsoft merged commit ff53cfc into kbss-cvut:development Sep 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants