-
-
Notifications
You must be signed in to change notification settings - Fork 818
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
v7 #1935
Commits on Oct 22, 2020
-
fix(errors): preserve merged paths
This is not the optimal way to address #1047 but is the most backwards compatible.
Configuration menu - View commit details
-
Copy full SHA for b7fa0dd - Browse repository at this point
Copy the full SHA b7fa0ddView commit details -
refactor(Transform): move type to delegate package
includes also changes to transform method arguments see #1614
Configuration menu - View commit details
-
Copy full SHA for 6dba0d0 - Browse repository at this point
Copy the full SHA 6dba0d0View commit details -
fix(pruning): remove implicit pruning
* implicit pruning from healSchema and mapSchema can sometimes be dangerous: e.g. empty interfaces are valid for later extension. * the pruneSchema utility functions (and PruneSchema transform) can be explicitly used to prune as desired See: #1817
Configuration menu - View commit details
-
Copy full SHA for c52c3f7 - Browse repository at this point
Copy the full SHA c52c3f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc9149c - Browse repository at this point
Copy the full SHA cc9149cView commit details -
abstract out ExternalData type
* removes support for createMergedResolver and ExtendSchema transform in favor of visitResult, simplifying the refactoring.
Configuration menu - View commit details
-
Copy full SHA for 335296f - Browse repository at this point
Copy the full SHA 335296fView commit details -
move typesContainSelectionSet to delegate package remove typeContainsSelectionSet
Configuration menu - View commit details
-
Copy full SHA for beceb89 - Browse repository at this point
Copy the full SHA beceb89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c24a37 - Browse repository at this point
Copy the full SHA 7c24a37View commit details -
refactor(errors): proxy all the errors
Previously, errors with invalid or missing paths were lost. See: #1641 https://github.com/apollographql/apollo-server/issues/4226 They are now saved! All correctly pathed errors are now inlined into the returned data by the CheckResultAndHandleErrors transform. The data is now annotated only with the remaining "unpathed" errors. These are then returned when possible if a null is encountered including the missing or potentially invalid path. Changes to error handling obviate some existing functions including getErrorsByPathSegment, getErrors in favor of getUnpathedErrors. Utility functions including slicedError and unreleased functions extendedError and unextendedError are no longer necessary.
Configuration menu - View commit details
-
Copy full SHA for c17067b - Browse repository at this point
Copy the full SHA c17067bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6855277 - Browse repository at this point
Copy the full SHA 6855277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ac52d - Browse repository at this point
Copy the full SHA 88ac52dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cf2a50 - Browse repository at this point
Copy the full SHA 9cf2a50View commit details -
Configuration menu - View commit details
-
Copy full SHA for c54e0d3 - Browse repository at this point
Copy the full SHA c54e0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952ecc9 - Browse repository at this point
Copy the full SHA 952ecc9View commit details -
we could consider later adding support for $$asyncIterable similar to upstream graphql-js, but this would have to be across the entire codebase, which currently supports only Symbol.asyncIterator.
Configuration menu - View commit details
-
Copy full SHA for badef7a - Browse repository at this point
Copy the full SHA badef7aView commit details -
use delegationContext within delegation transforms remove fragment hints and transforms in favor of selection set hints and transforms prune fragment functions from utils package
Configuration menu - View commit details
-
Copy full SHA for 322ef2e - Browse repository at this point
Copy the full SHA 322ef2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5ec56a - Browse repository at this point
Copy the full SHA c5ec56aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 813ed78 - Browse repository at this point
Copy the full SHA 813ed78View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff43e51 - Browse repository at this point
Copy the full SHA ff43e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8758356 - Browse repository at this point
Copy the full SHA 8758356View commit details -
v7 enhance(utils) expand filterSchema (#2005)
* updated filter schema. * update existing usage.
Configuration menu - View commit details
-
Copy full SHA for 39562a9 - Browse repository at this point
Copy the full SHA 39562a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6243d70 - Browse repository at this point
Copy the full SHA 6243d70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ed6eca - Browse repository at this point
Copy the full SHA 9ed6ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b697c46 - Browse repository at this point
Copy the full SHA b697c46View commit details -
refactor(stitchSchemas): clean up
= remove schemaLikeObjects in favor of better typed sources = make sure to retrieve the transformedSubschema stored with the transformedSubschemaConfig
Configuration menu - View commit details
-
Copy full SHA for dcafaa5 - Browse repository at this point
Copy the full SHA dcafaa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 280d77a - Browse repository at this point
Copy the full SHA 280d77aView commit details -
fix(HoistField): allow hoisting to root
requires passing additional parameters to each transformSchema call beyond the subschemaConfig: the transforms, and the transformedSchema. Because transformSchema may need to create additional proxying resolvers, it needs all the parameters that would be passed to delegateToSchema. It is NOT a catch-22 that transformSchema requires the transformed schema as a parameter, because it does NOT require an executable transformedSchema as a parameter, only the non-executable version for type comparisions performed ultimately by delegateToSchema within the proxying process.
Configuration menu - View commit details
-
Copy full SHA for 409adbe - Browse repository at this point
Copy the full SHA 409adbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb9098 - Browse repository at this point
Copy the full SHA bfb9098View commit details -
BREAKING_CHANGE: remove custom wrappingResolver option from WrapFields
This does not make sense in the context of planned functionality to wrap subscription root fields in potentially multiple layers, as the wrapping resolvers will have to be different for the root field and the other layers. Changing a root field resolver can be easily accomplished in a separate transform via TransformRootFIelds or TransformObjectFIelds.
Configuration menu - View commit details
-
Copy full SHA for 24aad24 - Browse repository at this point
Copy the full SHA 24aad24View commit details -
Remove `Operation` type in favor of `OperationTypeNode` from upstream graphql-js
Configuration menu - View commit details
-
Copy full SHA for 7c9e58d - Browse repository at this point
Copy the full SHA 7c9e58dView commit details
Commits on Oct 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d8ea58f - Browse repository at this point
Copy the full SHA d8ea58fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3040c5 - Browse repository at this point
Copy the full SHA e3040c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2660da5 - Browse repository at this point
Copy the full SHA 2660da5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848119e - Browse repository at this point
Copy the full SHA 848119eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42edc2f - Browse repository at this point
Copy the full SHA 42edc2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ee0708 - Browse repository at this point
Copy the full SHA 6ee0708View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3677750 - Browse repository at this point
Copy the full SHA 3677750View commit details -
Configuration menu - View commit details
-
Copy full SHA for a29df83 - Browse repository at this point
Copy the full SHA a29df83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0061485 - Browse repository at this point
Copy the full SHA 0061485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7827604 - Browse repository at this point
Copy the full SHA 7827604View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e09f8a - Browse repository at this point
Copy the full SHA 8e09f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e6a429 - Browse repository at this point
Copy the full SHA 0e6a429View commit details -
resolvers that return 'subresolvers' or fields that are set to functions for later use as resolvers were behaving not according to upstream graphql-js convention, these functions take 3 arguments, not 4, with parent available as this. See #1807 See https://github.com/graphql/graphql-js/blob/7e79bbe5f2b0e971b5e5f6fe3e7b19c43dea9f35/src/execution/execute.js#L1210-L1212
Configuration menu - View commit details
-
Copy full SHA for ac9f40f - Browse repository at this point
Copy the full SHA ac9f40fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0304a3 - Browse repository at this point
Copy the full SHA d0304a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d474b5 - Browse repository at this point
Copy the full SHA 3d474b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f52da1 - Browse repository at this point
Copy the full SHA 7f52da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e482716 - Browse repository at this point
Copy the full SHA e482716View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1e4480 - Browse repository at this point
Copy the full SHA b1e4480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74c95e8 - Browse repository at this point
Copy the full SHA 74c95e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 131fe86 - Browse repository at this point
Copy the full SHA 131fe86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e910a67 - Browse repository at this point
Copy the full SHA e910a67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d0dd8b - Browse repository at this point
Copy the full SHA 5d0dd8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbe7dd3 - Browse repository at this point
Copy the full SHA cbe7dd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5c26d5 - Browse repository at this point
Copy the full SHA a5c26d5View commit details -
includes breaking changes to onTypeConflict, fieldConfigMerger and inputFieldConfigMerger
Configuration menu - View commit details
-
Copy full SHA for a36b682 - Browse repository at this point
Copy the full SHA a36b682View commit details -
Configuration menu - View commit details
-
Copy full SHA for fed9d4e - Browse repository at this point
Copy the full SHA fed9d4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for de01936 - Browse repository at this point
Copy the full SHA de01936View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79b828b - Browse repository at this point
Copy the full SHA 79b828bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a2eca - Browse repository at this point
Copy the full SHA 35a2ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 467e593 - Browse repository at this point
Copy the full SHA 467e593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b9f9f0 - Browse repository at this point
Copy the full SHA 7b9f9f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd1452a - Browse repository at this point
Copy the full SHA cd1452aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8e3341 - Browse repository at this point
Copy the full SHA b8e3341View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec00c5 - Browse repository at this point
Copy the full SHA 9ec00c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed2585d - Browse repository at this point
Copy the full SHA ed2585dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c18604 - Browse repository at this point
Copy the full SHA 2c18604View commit details -
fix(batching): memoize createDefaultExecutor
to allow batching when using the default executor
Configuration menu - View commit details
-
Copy full SHA for 134827d - Browse repository at this point
Copy the full SHA 134827dView commit details -
refactor(endpoint): no longer necessary
BREAKING CHANGE: batching is now performed (when enabled) for all subschema config objects with identical executors, removing the need for the endpoint abstraction
Configuration menu - View commit details
-
Copy full SHA for 69ee3cd - Browse repository at this point
Copy the full SHA 69ee3cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09822d8 - Browse repository at this point
Copy the full SHA 09822d8View commit details