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

Localized Decoding #25

Open
1 task done
nriedman opened this issue Jun 20, 2024 · 0 comments
Open
1 task done

Localized Decoding #25

nriedman opened this issue Jun 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nriedman
Copy link
Contributor

nriedman commented Jun 20, 2024

Problem

Currently, we do not decode localized strings from Firestore in every part of the app. However, we have the infrastructure to do so in the DecodeLocalizedString extensions of KeyedDecodingContainer.

Solution

Implement custom decoding implementations of Codable using the extensions mentioned above whenever there is a possibility that the incoming fields will be localized in Firestore.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant