Skip to content
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

Make "trace" method protected in RESTDataSource #4816

Closed
wants to merge 1 commit into from

Conversation

tsareg
Copy link

@tsareg tsareg commented Dec 28, 2020

It would be helpful if trace method is protected instead of private. This would allow to add some custom reporting of time taken to do the request instead of just console.log. Without marking the method as protected you either need to ts-ignore the override or you need to override get/post/patch/delete/put, or have a complete custom implementation.

It would be helpful if `trace` method is protected instead of private. This would allow to add some custom reporting of time taken to do the request instead of just console.log. Without marking the method as protected you either need to ts-ignore the override or you need to override get/post/patch/delete/put, or have a complete custom implementation.
@apollo-cla
Copy link

@tsareg: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@tsareg tsareg changed the title Make "trace" method protected Make "trace" method protected in RESTDataSource Dec 28, 2020
@glasser
Copy link
Member

glasser commented Oct 11, 2022

This package has moved to a new repository. I'm closing this PR, but we do plan to spend some time working on RESTDataSource soon; I opened apollographql/datasource-rest#21 to remind us to look at this PR. Sorry for the delay!

@glasser glasser closed this Oct 11, 2022
@glasser
Copy link
Member

glasser commented Dec 9, 2022

(we did this a while ago in #3940)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants