-
Notifications
You must be signed in to change notification settings - Fork 30
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
Any possibility to provide default mixins? #53
Comments
Yeah it's easy to create your own wrapper class that passes whatever you like! If you want I can whip up a code snippet for how to do that. |
Sure! that would be helpful.... |
I am attempting this, but am running into an issue when I extend the ValidatedMethod class, for example this works:
But extending the Validated class like this:
And defining it like this:
Throws an error when called:
which is referenced to this line:
Seems the properties are not being inherited correctly, I even tried using an empty constructor and it still doesn't work when calling SecureMethod:
|
I wouldn't want to pass the callPromise mixin for every method that I write, for example....
The text was updated successfully, but these errors were encountered: