Make this package work with generics
See original GitHub issueI know in your README you mentioned that this doesn’t work with generic types, i.e.
keys<T>
This functionality would be incredibly useful to me if it worked - and I would love to help contribute if you have any ideas for how to get this to work.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Java Generics Example Tutorial - Generic Method, Class ...
We use <T> to create a generic class, interface, and method. The T is replaced with the actual type when we use it....
Read more >Generic Methods - Java™ Tutorials
This Java tutorial describes generics, full screen mode API, and Java certification related resources.
Read more >Tutorial: Getting started with generics - The Go Programming ...
From the command prompt, create a directory for your code called generics. $ mkdir generics $ cd generics. Create a module to hold...
Read more >Is it possible to access an instance of a generic package from ...
I'm writing a generic library. I have a protected object that needs to be accessed by code in two packages. Both the package...
Read more >GitLab Generic Packages Repository
Generic package sample project. The Write CI-CD Variables in Pipeline project contains a working example you can use to create, upload, and download...
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 FreeTop 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
Top GitHub Comments
could you go into a bit more detail ? I’m noticing a pretty sweet use that would obviate the need to write factory methods per interface, for example:
Ok ok I get that this wouldn’t really work, but is there a work around of sorts?