Forbes Lindesay
Forbes Lindesay
I agree with @ryanve this doesn't look like a very clean approach.
Actually, it's: ``` jade mixin check() input&attributes(attributes) ``` The colon didn't belong there.
Interesting idea, how about: ``` js roles.use('edit user', ['userID'], fn) ``` That way you could add additional parameters to the array to match against multiple parameters. You could already do...
Personally I'd prefer to just write that as: ``` ``` It's simple and uses things built into JavaScript, so if you're experienced with JavaScript, and you've got the hang of...
Yes, I'd absolutely be open to this being added. It is on my list of ideas to build eventually, but if you'd like to build it and submit a PR,...
The issue is that I often define connect-roles at the top level of my application, and then use them in many different sub apps at different mount points. e.g. ```...
The idea behind this would be that you could do something like: File A ```ts import runtime from 'funtypes.macro'; export interface MyType { someKey: string } export const MyType =...
We could allow this to be checked at compile time by having FileB become: ```ts import runtime from 'funtypes.macro'; import {MyType} from './FileA' export interface MyOuterTypeType { outerKey: MyType }...
I think everyone would benefit from requestAnimationFrame support. Why not add a pull request to add it directly to jsdom or zombie?
Yes, this is the intended behaviour. `batchSize` and `highWaterMark` control the behaviour in the underlying db queries, so tuning the batch size and high water mark can improve throughput/performance, but...