Skip to content

[Typescript] How to extend ExecutionResult? #2539

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

Closed
deser opened this issue May 11, 2020 · 2 comments
Closed

[Typescript] How to extend ExecutionResult? #2539

deser opened this issue May 11, 2020 · 2 comments
Labels

Comments

@deser
Copy link

deser commented May 11, 2020

Hey Guys,
Is it possible to add ability to for exported graphql function to have extension types? For example I need to extend ExecutionResult with my data response.

@erik-beus
Copy link

This used to be possible. But in v. 15 it seems this was changed :/
#2490

@IvanGoncharov
Copy link
Member

@erik-beus Thanks for linking correct issue.

For example I need to extend ExecutionResult with my data response.

@deser Yes, it was possible but was removed in #2490, please see discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants