You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With apollo-datasource-rest it was possible to set a third argument and set fields there which were used internally in willSendRequest in our codebase. Given that @apollo/datasource-rest only supports two arguments, how would you recommend supplying additional data fields that are purely for internal use and that we don’t intend to send to a server but to use at a later point of execution? Would you recommend setting a new field in the second argument?
Example of what we have with apollo-datasource-rest:
With
apollo-datasource-rest
it was possible to set a third argument and set fields there which were used internally inwillSendRequest
in our codebase. Given that@apollo/datasource-rest
only supports two arguments, how would you recommend supplying additional data fields that are purely for internal use and that we don’t intend to send to a server but to use at a later point of execution? Would you recommend setting a new field in the second argument?Example of what we have with
apollo-datasource-rest
:Thank you.
The text was updated successfully, but these errors were encountered: