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

Serialize derivedKeys as object #279

Merged
merged 1 commit into from
May 10, 2023

Conversation

tureck1y
Copy link
Collaborator

@tureck1y tureck1y commented May 5, 2023

По умолчанию, если ключ не String/Int, словарь энкодится как массив. А ожидается объект. В иос15 появился CodingKeyRepresentable, но я его не могу использовать, пришлось сделать новый тип, который мимикрирует под нативный словарь благодаря ExpressibleByDictionaryLiteral и subscript

@tureck1y tureck1y merged commit 7c0c3ef into develop May 10, 2023
@tureck1y tureck1y deleted the IOS-3574_derivedkeys_serialization branch May 10, 2023 07:54
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.

3 participants