Skip to content

Make "trace" method protected in RESTDataSource#4816

Closed
tsareg wants to merge 1 commit into
apollographql:mainfrom
tsareg:patch-1
Closed

Make "trace" method protected in RESTDataSource#4816
tsareg wants to merge 1 commit into
apollographql:mainfrom
tsareg:patch-1

Conversation

@tsareg

@tsareg tsareg commented Dec 28, 2020

Copy link
Copy Markdown

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
Copy Markdown

@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

glasser commented Oct 11, 2022

Copy link
Copy Markdown
Member

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

glasser commented Dec 9, 2022

Copy link
Copy Markdown
Member

(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