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

BO44 - create DAL utilities to store localized fields #254

Open
gregoriopalama opened this issue Jul 26, 2024 · 0 comments · May be fixed by #267
Open

BO44 - create DAL utilities to store localized fields #254

gregoriopalama opened this issue Jul 26, 2024 · 0 comments · May be fixed by #267
Assignees
Labels
enhancement New feature or request task This is a Task. Contributors can work on this

Comments

@gregoriopalama
Copy link
Member

gregoriopalama commented Jul 26, 2024

Create DAL utilities to store localized fields in Firestore.
The field should become a map, with the locale as index and the localized string as the value.

  • The utilities will have access to the language actually configured as default
  • The utilities will have access to the actual language used by the FrontEnd
  • The utilities will merge the incoming changes to the values that are already on the DB, if present
  • After the merge, the utilities will check if all the LocalizedString fields have a value for the default language. If this is not the case, then an error must be fired
@gregoriopalama gregoriopalama added enhancement New feature or request task This is a Task. Contributors can work on this labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task This is a Task. Contributors can work on this
Projects
Status: Ready
Development

Successfully merging a pull request may close this issue.

2 participants