braintree / braintree_ios

Braintree SDK for iOS
https://developer.paypal.com/braintree/docs/start/hello-client/ios/v5
MIT License
560 stars 296 forks source link

Pass Mutation Name as Endpoint for GraphQL #1349

Closed richherrera closed 3 months ago

richherrera commented 3 months ago

Summary of changes

Checklist

Authors

richherrera commented 3 months ago

lgtm! 🚀 jw what brought about introducing this change

Thanks for asking. Yes, this change is part of something that was pending in another PR. Currently, we're sending the endpoint of all requests to measure latency. Since the GraphQL requests are the same, the suggestion was to send the name of the mutation to identify it. I'll share some PRs with you in case you want to dive deeper into this.

Suggestion: https://github.com/braintree/braintree_ios/pull/1321#discussion_r1617762574 Android: 78883ff