forked from apollographql/apollo-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[SAMPLE DIFF] Not for review - Interceptor hooks #2
Open
AdamMTGreenberg
wants to merge
3
commits into
main
Choose a base branch
from
interceptor_hooks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AdamMTGreenberg
pushed a commit
that referenced
this pull request
Apr 2, 2022
…graphql#3471) * take #2 on query normalization * added a comment * add comment
AdamMTGreenberg
pushed a commit
that referenced
this pull request
Apr 2, 2022
* Add a "Who is Apollo" section to the main README (apollographql#3073) * Slight tweaks to the "Who is Apollo?" README section (apollographql#3079) To align with apollographql/apollo-client#8079. * Update dependency gatsby-theme-apollo-docs to v4.7.3 * Issue apollographql#3095: Expose channel capacity parameter. (apollographql#3096) Co-authored-by: Neal Sanche <neal@yourarq.com> * Update dependency gatsby to v2.32.13 * Update dependency gatsby-theme-apollo-docs to v4.7.4 * Fix Float input fields Java codegen with default values in json schemas (apollographql#3109) * Fix Float input fields Java codegen with default values in json schemas see apollographql#3108 * add a test case for lists in defaultValues and handle it Co-authored-by: Martin Bonnin <martin@mbonnin.net> * bump Kotlin and Coroutines to 1.5.0 (apollographql#3113) * bump Kotlin and Coroutines to 1.5.0 * make the KotlinCompile task depend on antlr generation * update metalava-plugin * update metalava * update metalava using Jdk8. Not really sure why the signatures would differ based on the java version... * release 2.5.7 * version is now 2.5.8-SNAPSHOT * Update README.md (apollographql#3120) * Replace spectrum with discourse (apollographql#3123) * Discourse: pre-fill the category and tags * Update multi-modules.mdx (apollographql#3125) * Implement Query Batching for `apollo-runtime` (apollographql#3117) * Implement Query Batching for `apollo-runtime` * update metalava signatures * Trigger HTTP call on max batch size, added synchronization, throw when using GET method * Unit tests for BatchPoller * Fix checkstyle * Propagate parsing errors in callbacks, better syncrhonization, use LinkedList * Added some tests for batch response parsing * Added tests for request body + headers * Builder API to enable per query batching, dont rely on time for tests * update Metalava signatures Co-authored-by: Martin Bonnin <martin@mbonnin.net> * pass 'operationName' in the introspection query (apollographql#3126) * bump junit (apollographql#3131) * Update dependency gatsby-theme-apollo-docs to v4.7.6 * feat: add Reactor support (apollographql#3138) * feat: add Reactor support resolves apollographql#627 * remove .gitignore that is handled by the top level one * update metalava signatures Co-authored-by: Martin Bonnin <martin@mbonnin.net> * Update dependency gatsby-theme-apollo-docs to v4.7.9 * add reactor in the left column of the doc (apollographql#3141) * release 2.5.8 * version is now 2.5.9-SNAPSHOT * Fix overriding `canBeBatched` value when cloning `QueryCall` with `toBuilder()` (apollographql#3146) * Update get-started-multiplatform.mdx (apollographql#3150) update dep version forcing as per gradle new api * Update badge from Bintray to MavenCentral for apollo-idling-resource (apollographql#3153) Thanks! * Update 09-write-your-first-mutation.mdx (apollographql#3154) * Update 01-configure-project.mdx * Update 02-add-the-graphql-schema.mdx * release 2.5.9 * version is now 2.5.10-SNAPSHOT * refactor: RxJava 2/3 support (apollographql#3166) * Update dependency striptags to 3.2.0 [SECURITY] (apollographql#3178) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency gatsby-theme-apollo-docs to v4.7.11 * Update dependency gatsby-theme-apollo-docs to v4.7.12 * remove duplicate executionContext (apollographql#3213) * feat: add Mutiny support (apollographql#3198) * feat: add Mutiny support * Update gatsby-config.js Co-authored-by: Martin Bonnin <martin@mbonnin.net> * add v3 docs (apollographql#3223) * Add 3.0 alpha notice (apollographql#3231) * Update dependency gatsby-theme-apollo-docs to v4.7.13 * July 2021 ROADMAP update (apollographql#3255) * Update ROADMAP.md * Update dependency gatsby-theme-apollo-docs to v4.7.14 * Update multi-modules.mdx Add a not about multi platform, See apollographql#3297 * Update multi-modules.mdx Remove deleted branch * Replace Spectrum with community.apollographql.com (apollographql#3299) * Update ROADMAP.md * Update dependency path-parse to 1.0.7 [SECURITY] (apollographql#3296) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency gatsby-theme-apollo-docs to v4.7.15 * Remove root redirect and build deploy previews at / (apollographql#3309) * Deploy the prod site at the root (apollographql#3312) * Update dependency gatsby-theme-apollo-docs to v4.7.16 * Remove path prefixes for docs redirects (apollographql#3329) * Updated coroutines for use native-mt version (apollographql#3330) * Updated coroutines for use native-mt version * Update get-started-multiplatform.mdx Co-authored-by: Martin Bonnin <martin@mbonnin.net> * Update dependency gatsby-theme-apollo-docs to v4.7.18 * Increase Json nesting to 256 (apollographql#3334) Closes apollographql#3308 * Bump docs theme to add Algolia search (apollographql#3346) * Configure for updated docs theme * Upgrade docs theme * Bump docs theme version * Bump docs theme version * Update docs theme version * Move config from docs netlify.toml to root level netlify.toml * Upgrade docs theme * Upgrade docs theme * Upgrade docs theme * Upgrade docs theme * Bump docs theme to v5 Co-authored-by: Trevor Blades <tdblades@gmail.com> * Update dependency gatsby-theme-apollo-docs to v5.0.1 * Add Reactor && Mutiny to advanced topics (apollographql#3355) * feat: add Mutiny support * Update gatsby-config.js * doc: Add Reactor && Mutiny to advanced topics Co-authored-by: Martin Bonnin <martin@mbonnin.net> * Update dependency gatsby-theme-apollo-docs to v5.0.2 * Update dependency gatsby-theme-apollo-docs to v5.0.3 * Update dependency gatsby-theme-apollo-docs to v5.0.7 * Who is Apollo README updates (apollographql#3379) Small updates to align "Who is Apollo" sections across repos. * Update dependency gatsby-theme-apollo-docs to v5.0.8 * Give a hint at errorPayload (apollographql#3381) See apollographql#3369 * docs: Configure custom Algolia filters (apollographql#3378) * Configure algolia filters * Upgrade theme * Upgrade theme * Adding Benoit (apollographql#3388) * Workaround wrong input field default values (apollographql#3398) * add a test case for apollographql#3394 * do not generate defaultValues for input fields of input object type * make an exception for emptyList for backward compatibility * do not crash when trying to indent the GraphQL document (apollographql#3399) * Minor improvements to the Tutorial documentation (apollographql#3396) * Minor improvements to the Tutorial documentation * Rephrase a sentence Co-authored-by: Martin Bonnin <martin@mbonnin.net> * Remove unneeded dependency * Use 2.5.9 to be consistent with the code on tutorial's repo Co-authored-by: Martin Bonnin <martin@mbonnin.net> * Add ./gradlew push${MainService}ApolloOperations (apollographql#3403) * add RegisterOperations * add ApolloRegisterOperationsTask * add a test case * fix bad copy/paste * update metalava signatures * add some doc * Update docs/source/advanced/operation-safelisting.mdx Co-authored-by: Benoit Lubek <BoD@JRAF.org> * Update docs/source/advanced/operation-safelisting.mdx Co-authored-by: Benoit Lubek <BoD@JRAF.org> * add the link to the operation registry server documentation Co-authored-by: Benoit Lubek <BoD@JRAF.org> * Replace 'data graph' with 'graph' (apollographql#3389) * Operation Registry: normalize queries before computing the hash (apollographql#3406) * add normalization * be robust to Number.toString() in JS being different from Double.toString() in Java * remove extra "only" * workaround a doc issue where the 3.x was used instead of 2.x * release 2.5.10 * version is now 2.5.11-SNAPSHOT * Indicate the supported native platforms in the doc (2.x) (apollographql#3419) * Indicate the supported native platforms in the doc. * Clarification about the `js` target also being available * Added toString method for Input (apollographql#3427) * Fix outdated doc about FileUpload (apollographql#3429) * Update ROADMAP.md (apollographql#3445) * update ROADMAP.md * update ROADMAP.md * Update dependency gatsby-theme-apollo-docs to v5.3.1 * Make safelistingHash closer to its apollo-tooling counterpart (apollographql#3471) * take #2 on query normalization * added a comment * add comment * Update dependency gatsby-theme-apollo-docs to v5.3.2 * Update dependency gatsby-theme-apollo-docs to v5.3.3 * Update dependency url-parse to 1.5.2 [SECURITY] (apollographql#3522) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency ws to 7.4.6 [SECURITY] (apollographql#3523) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency ssri to 7.1.1 [SECURITY] (apollographql#3521) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency postcss to 7.0.36 [SECURITY] (apollographql#3519) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency object-path to 0.11.8 [SECURITY] (apollographql#3518) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency dns-packet to 1.3.2 [SECURITY] (apollographql#3517) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency browserslist to 4.16.5 [SECURITY] (apollographql#3516) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency axios to 0.21.2 [SECURITY] (apollographql#3515) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Bump docs theme and align React version w/ other docsets (apollographql#3539) * Always make sure the Response is closed (apollographql#3541) * release 2.5.11 * version is now 2.5.12-SNAPSHOT * Gateway clarification based on license change * Update dependency gatsby-theme-apollo-docs to v5.3.8 * update docs dependencies * pass 'operationName' in the introspection query (apollographql#3126) * update ROADMAP * add multiplatform in the multimodules doc * Remove root redirect and build deploy previews at / (apollographql#3309) * Deploy the prod site at the root (apollographql#3312) * Remove path prefixes for docs redirects (apollographql#3329) * add a Kotlin Native Doc inspired by commit 2e2f5d9 * Bump docs theme to add Algolia search (apollographql#3346) * Configure for updated docs theme * Upgrade docs theme * Bump docs theme version * Bump docs theme version * Update docs theme version * Move config from docs netlify.toml to root level netlify.toml * Upgrade docs theme * Upgrade docs theme * Upgrade docs theme * Upgrade docs theme * Bump docs theme to v5 Co-authored-by: Trevor Blades <tdblades@gmail.com> * update algolia filters * Adding Benoit (apollographql#3388) * replace data graph with 'graph' * premliminary work for registerOperations * wip * wip * fix sorting * add Gradle tasks for registerOperations * add safelisting doc * update apiDump * revert debug and fix tests that require mpp-utils Co-authored-by: Danielle Man <man.danielleh@gmail.com> Co-authored-by: Hugh Willson <hugh@octonary.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Neal Sanche <neal.sanche@robotsandpencils.com> Co-authored-by: Neal Sanche <neal@yourarq.com> Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com> Co-authored-by: Moncef AOUDIA <22281426+aoudiamoncef@users.noreply.github.com> Co-authored-by: Fabio Santo <fabio.santo.mail@gmail.com> Co-authored-by: Nicola Corti <corti.nico@gmail.com> Co-authored-by: Robert Theis <943135+rmtheis@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stephen Barlow <stephen@apollographql.com> Co-authored-by: Trevor Blades <tdblades@gmail.com> Co-authored-by: Виталий <vir@provir.ru> Co-authored-by: Janessa Garrow <janessa@apollographql.com> Co-authored-by: Benoit Lubek <BoD@JRAF.org> Co-authored-by: Andrew Orobator <orobator.andrew@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
his branch is a bit of a mess, but the PR is intended for the sample code idea for apollographql#3221
This PR is also pretty rough, but it encapsulates the idea of allowing for direct callbacks to occur encapsulating a large deal of data surrounding the ApolloParseInterceptor and lays some groundwork for the rest.
It's pretty rough, but I wanted to start with something to get the Apollo team's feedback and the potential for something along these lines.
Code devised to try and avoid API quakes.