jedwatson / asyncdi Goto Github PK
View Code? Open in Web Editor NEWAsync Dependency Injection
License: MIT License
Async Dependency Injection
License: MIT License
If I define a function and want to pass it into asyncdi, and it happens to look like this:
(foo, bar, cheese, iLoveKeystoneForeverThanksSoMuchForMakingIt) => console.log('foo')
The function argument grabbing regex will fail. Popped up while using field watching in keystone. Also I'm not sure if supports the ...restParam
syntax either.
My question: Can it be made to support these new(ish) syntax styles
and
Should it even be made to support the newish syntax? (I'd be fine is the answer is no, it would just be a nice ability to use arrow functions as field watching callbacks in keystone)
But before I sound like the prototypical all-too-often derogatory open source critic, I just want to say that I really appreciate the work you and others have put into this and the zillion other parts to make keystone rock as hard as it does. It's a huge undertaking that works really well for what it is designed for and it's great to be able to use it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.