-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Extended Graphql support: Identify GraphQL requests fired as HTTP GET Requests. #884
Extended Graphql support: Identify GraphQL requests fired as HTTP GET Requests. #884
Conversation
β¦sGraphQLRequest property. Updates HttpTransactionDao.kt accordingly.
Thanks for this PR
I'd like to challenge the approach a bit as this looks like a bit of an overkill to me. Could we just detect if the path ends with |
@cortinico so I take it that we would also like to detect GQL request based on the operation names? |
@cortinico done. |
Yup we can have a combination of the two |
@cortinico I've included the changes that ID requests based on Operation name. |
library/src/main/kotlin/com/chuckerteam/chucker/internal/data/entity/HttpTransaction.kt
Outdated
Show resolved
Hide resolved
library/src/main/kotlin/com/chuckerteam/chucker/internal/support/RequestProcessor.kt
Outdated
Show resolved
Hide resolved
library/src/main/kotlin/com/chuckerteam/chucker/internal/ui/transaction/TransactionAdapter.kt
Show resolved
Hide resolved
β¦action.kt & HttpTransactionTuple.kt and all its dependencies.
β¦he `graphQLDetected` property
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're getting closer to a mergeable state :) Thanks for your contrib @ArjanSM. I've done another pass and left several comments
library/src/main/kotlin/com/chuckerteam/chucker/internal/data/entity/HttpTransaction.kt
Outdated
Show resolved
Hide resolved
library/src/main/kotlin/com/chuckerteam/chucker/internal/ui/transaction/TransactionAdapter.kt
Outdated
Show resolved
Hide resolved
library/src/main/kotlin/com/chuckerteam/chucker/internal/ui/transaction/TransactionAdapter.kt
Outdated
Show resolved
Hide resolved
sample/src/main/kotlin/com/chuckerteam/chucker/sample/GraphQlTask.kt
Outdated
Show resolved
Hide resolved
sample/src/main/kotlin/com/chuckerteam/chucker/sample/GraphQlTask.kt
Outdated
Show resolved
Hide resolved
sample/src/main/kotlin/com/chuckerteam/chucker/sample/GraphQlTask.kt
Outdated
Show resolved
Hide resolved
sample/src/main/kotlin/com/chuckerteam/chucker/sample/GraphQlTask.kt
Outdated
Show resolved
Hide resolved
sample/src/main/kotlin/com/chuckerteam/chucker/sample/GraphQlTask.kt
Outdated
Show resolved
Hide resolved
sample/src/main/kotlin/com/chuckerteam/chucker/sample/GraphQlTask.kt
Outdated
Show resolved
Hide resolved
β¦n GraphQlTask.kt
sample/src/main/kotlin/com/chuckerteam/chucker/sample/GraphQlTask.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this work @ArjanSM
Thanks @cortinico. Any idea when do you plan to merge this PR? |
π· Screenshots
π Context
Based on top #805 to support identification of GraphQL requests fired as
HTTP GET
.Also the approach taken is as mentioned in #116
π Changes
π οΈ How to test
Tests have been updated.