chore: no magic strings #34
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: pantheon/hestia#34
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "paraglider-no-magic-strings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Don't think you should use translation for API errors
They are form errors, we could return a flag from the server then serve the message on the client. Its an extra step, but does that make sense?
It makes sense, I like that way!
Opened #35 for this work, its a bit more involved than what Im doing here since we need a system for passing errors from the backend to the frontend + form needs to properly handle error states
@BenjaminPalko Can you remove please the translation from the api 🙏🏽