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

Switch to String(reflecting:) in descriptors #193

Open
dimitribouniol opened this issue Apr 13, 2024 · 0 comments
Open

Switch to String(reflecting:) in descriptors #193

dimitribouniol opened this issue Apr 13, 2024 · 0 comments

Comments

@dimitribouniol
Copy link
Member

String(describing:) unfortunately will change a complex type like AccountStore.Item.ID into just ID — it might be better to use String(reflecting:) instead, which should provide the fully qualified name. We need to make sure this works well with local types and migrations though, since we may hit those quite often.

See: https://forums.swift.org/t/getting-the-more-fully-qualified-name-of-a-type/14375/10

@dimitribouniol dimitribouniol changed the title Switch to String(reflecting:) in descriptors Switch to String(reflecting:) in descriptors Apr 13, 2024
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

No branches or pull requests

1 participant