-
-
Notifications
You must be signed in to change notification settings - Fork 822
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
Allow return type specification in IFieldResolver #968
Allow return type specification in IFieldResolver #968
Conversation
- This adds a fourth parameter to `IFieldResolver`: `TReturn` - TReturn defaults to `any` for backwards compatibility
@hedvigoscar: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/ |
@hedvigoscar are you able to get this PR up to date with |
@mfix22 Should be good now I think 👍 |
@hwillson just wanted to confirm with you before merging since I haven't updated the types before 👍 |
Any update on this? Seems like a desirable addition. |
Thanks @hedvigoscar ! |
🙇 |
IFieldResolver
:TReturn
any
for backwards compatibilityRelates to #704
TODO: