Add an IdentifiedRef.get() alias for unwrap
See original GitHub issueWith IdentifiedRef
, I’m finding it common to do project.someRelation.unwrap()
(as long as the relation is already init’d). It seems like project.someRelation.get()
would be more idiomatic, and similar to project.someCollection.getItems()
.
Granted, there is a get(key: K)
(or what not) method right now, so that name is “taken”, however TypeScript does support declaring multiple type declarations for a single method, so get
could return T
if given no args, and T[K]
if key
is present.
Does that seem okay?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
How can I create aliases of objects that inherit only a particular ...
You could link them up by adding an alias_of attribute to signify what a name is an alias of. If you pair it...
Read more >Is it possible to unwrap a 3D curve in Alias for 2D printing?
Solved: Hi, everyone. I have searched for other questions regarding unwrapping 3D curves and/or surfaces, but all I saw were suggestions to ...
Read more >Alias Maya tutorial - UV unwrapping basics - YouTube
Wood grain? Metal brushing? Fabrics? Tactile patterns? Product graphics? With UV unwrapping in Autodesk Maya, you can easily ensure your ...
Read more >Managing Aliases | Gmail - Google Developers
Send-as aliases represent the email addresses an account can send mail from. Each account always has at least one alias to represent the...
Read more >Add or delete an alternate email address (email alias)
Find a user's email alias in the Admin console; How users send email from an alias. As a Google Workspace administrator, you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Node 10 and always latest TS, is fine with me. TS moves so quickly and has been very backwards compatible that I don’t see an issue with requiring it.
nice…