-
Notifications
You must be signed in to change notification settings - Fork 82
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
feat: provide Into<String>
for identifier types
#974
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #974 +/- ##
==========================================
- Coverage 70.24% 70.23% -0.02%
==========================================
Files 177 177
Lines 17730 17733 +3
==========================================
Hits 12455 12455
- Misses 5275 5278 +3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mina86 🌷
Just regarding the AsRef<str>
we already have as_str
methods for all the identifiers. I assume that should work for you.
Into<String>
and AsRef<str>
for identifier typesInto<String>
for identifier types
@Farhad-Shabani, for sure. I actually don’t care about |
Ahh, that's right. Actually, either one is redundant!, feel free to open another PR. Perhaps keeping |
* feat: provide `Into<String>` and `AsRef<str>` for identifier types * fix: use as_str on chain_id --------- Co-authored-by: Farhad Shabani <[email protected]>
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.