-
Notifications
You must be signed in to change notification settings - Fork 17
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
Chaining server side #7
Comments
Hmm, I know I set the package up to be client and server, but I wonder if I should reconsider that now. The reason being - it's strange to make a method call from the server side, the approach described here shows how to maintain a method that can be called directly - without What do you think- if you want to try to support your use case from the server, let me know a bit more, maybe create a failing test in a PR ? |
@deanius , yep i know that it is strange to call methods from server to server (anyway in tutorial , you called 'inspiration' they calling methods server side ;) ) , but it is detail. |
Meteor's support for ES6 (including Promises, I assume), in version 1.2 may make this package obsolete- we'll see what they come up with.. Thanks for your very valid points! |
Hi @chicagogrooves , idea is nice but it doesnt work server side because of Meteor.bindEnvironment.
Lets try your example server side :
what we can see ? in third promise plan is undefined , it is called before any output from
createCustomerSubscription
.The text was updated successfully, but these errors were encountered: