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
PR: merge graphql-tools-fork #1206
Commits on Mar 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for da25bfc - Browse repository at this point
Copy the full SHA da25bfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e02f17 - Browse repository at this point
Copy the full SHA 4e02f17View commit details -
graphql-subscriptions 1.1.0 only adds listeners after first call to next(), see apollographql/graphql-subscriptions#148
Configuration menu - View commit details
-
Copy full SHA for 91b150e - Browse repository at this point
Copy the full SHA 91b150eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb0359 - Browse repository at this point
Copy the full SHA 8eb0359View commit details -
[feat] Add transformers to rename, filter, and arbitrarily transform …
…object fields, fixes ardatan#819.
Configuration menu - View commit details
-
Copy full SHA for d783d78 - Browse repository at this point
Copy the full SHA d783d78View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ce4e8 - Browse repository at this point
Copy the full SHA d7ce4e8View commit details -
feat(errors): Pass through all possible errors.
Use new relocatedError function to update the original GraphQLErrors with the new path. Addresses ardatan#743, ardatan#1037, ardatan#1046, apollographql/apollo-server#1582.
Configuration menu - View commit details
-
Copy full SHA for 97d8fe6 - Browse repository at this point
Copy the full SHA 97d8fe6View commit details -
fix(stitching): fix regression
Refactoring in v5.1.0 introduced a regression when nullable root fields returned null without errors.
Configuration menu - View commit details
-
Copy full SHA for 9fda499 - Browse repository at this point
Copy the full SHA 9fda499View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f82ac - Browse repository at this point
Copy the full SHA c7f82acView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4ddfcc - Browse repository at this point
Copy the full SHA c4ddfccView commit details -
Configuration menu - View commit details
-
Copy full SHA for c662bea - Browse repository at this point
Copy the full SHA c662beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21c1486 - Browse repository at this point
Copy the full SHA 21c1486View commit details -
fix(stitching): serialize/deserialize enum/custom scalar values
BREAKING CHANGE: This change allows enums and custom scalars to be used as arguments within merged schemas. It also fixes seralization and deserialization more generally within merged schemas. If an implementation is available for a custom scalar within a merged schema (i.e., the schema is local), the internal representation will be available for use with stitching. Previously, the merged schema internally used the serialized version.
Configuration menu - View commit details
-
Copy full SHA for ddbeb9a - Browse repository at this point
Copy the full SHA ddbeb9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59418ed - Browse repository at this point
Copy the full SHA 59418edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d627b3c - Browse repository at this point
Copy the full SHA d627b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6567e7 - Browse repository at this point
Copy the full SHA c6567e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 169fad4 - Browse repository at this point
Copy the full SHA 169fad4View commit details -
fix(stitching): fix legacy custom scalar recreation to more closely m…
…atch pre-v6.0.1 functionality.
Configuration menu - View commit details
-
Copy full SHA for 5abdaf0 - Browse repository at this point
Copy the full SHA 5abdaf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6616e - Browse repository at this point
Copy the full SHA 4e6616eView commit details -
fix(stitching): include specified directives even when merging of dir…
…ectives is disabled
Configuration menu - View commit details
-
Copy full SHA for 773f765 - Browse repository at this point
Copy the full SHA 773f765View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6600d5d - Browse repository at this point
Copy the full SHA 6600d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b41896f - Browse repository at this point
Copy the full SHA b41896fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46083a2 - Browse repository at this point
Copy the full SHA 46083a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f6a5f3 - Browse repository at this point
Copy the full SHA 5f6a5f3View commit details -
fix(stitching): do not convert falsy values to null.
Closes #10. Renamed resultObject to result to remind code/coders that the result may be a scalrar, not an object, and may be falsy without being equivalent to null.
Configuration menu - View commit details
-
Copy full SHA for dd5abab - Browse repository at this point
Copy the full SHA dd5ababView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39fc007 - Browse repository at this point
Copy the full SHA 39fc007View commit details -
Configuration menu - View commit details
-
Copy full SHA for 230af75 - Browse repository at this point
Copy the full SHA 230af75View commit details -
feat(stitching): allow delegateToSchema, mergeSchemas and transformSc…
…hema to take remote schema configurations as parameters This removes the need for makeRemoteExecutableSchema, removing an unnecessary layer of schema delegation. This change introduces a RemoteGraphQLSchema type which consists of a GraphQLSchema object annotated with link, fetcher, or dispatcher properties that can be used by delegateToSchema to access the remote schema. The dispatcher function takes the graphql context eventually passed to delegateToSchema as an argument and returns a link or fetcher function.
Configuration menu - View commit details
-
Copy full SHA for 490e433 - Browse repository at this point
Copy the full SHA 490e433View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5571fb - Browse repository at this point
Copy the full SHA c5571fbView commit details -
feat(transformers): TransformQuery transformer adds errorPathTransfor…
…mer property to properly return errors from transformed queries.
Configuration menu - View commit details
-
Copy full SHA for 194e467 - Browse repository at this point
Copy the full SHA 194e467View commit details -
feat(transforms): add dedicated filterSchema function to allow schema…
… filtering without a layer of delegation
Configuration menu - View commit details
-
Copy full SHA for c3d7cae - Browse repository at this point
Copy the full SHA c3d7caeView commit details -
feat(transforms): map object fields to new structures
Provides building blocks to allow transforming object types by wrapping a field with a new object type or by extracting subfields from a field of a certain object type into the parent: = Adds new ExtendSchema transformer to extend the wrapping schema within transformSchema with new fields. = Adds new functions that create resolvers that can wrap, extract, and rename merged fields, for use within the ExtendSchema transformer = Adds new MapFields transformer to allow transformation of field nodes within a request by object type and field name.
Configuration menu - View commit details
-
Copy full SHA for 8c82178 - Browse repository at this point
Copy the full SHA 8c82178View commit details -
fix(stitching): fixes error mapping with ExtendSchema transform. Also…
…, refactors! = uses createMergedResolver instead of individual wrapFields, extractFields, and renameFields functions. These functionss likely should be deprecated or at least renamed, as their function (creating specialized resolvers for merging) is not clear from current names. createMergedResolver works with multiple layers of wrapping, extracting, or even a combination thereof. = exports new extractFields function for use within a fieldNodeTransformerMap when wrapping fields. = allows specification of the fieldNodeTransformerMap directly on ExtendSchema transform so that separate MapFields transform not required. Under the hood, the ExtendSchema transform calls its own MapFields transform. = fixes file structure; as most of the recent new functionality is stitching functionality rather than transform functionality, even though it relies on the new ExtendSchema and MapFields transforms.
Configuration menu - View commit details
-
Copy full SHA for 1c25e12 - Browse repository at this point
Copy the full SHA 1c25e12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9af1ec5 - Browse repository at this point
Copy the full SHA 9af1ec5View commit details -
fix(stitching): input fields without default value
Input fields without default values should not have default values of null after transformation -- they should still have no default values. Closes #15.
Configuration menu - View commit details
-
Copy full SHA for d5e54ad - Browse repository at this point
Copy the full SHA d5e54adView commit details -
fix(transforms): support custom scalar input variables on root fields…
… when transforming. Fixes #18.
Configuration menu - View commit details
-
Copy full SHA for a88f667 - Browse repository at this point
Copy the full SHA a88f667View commit details -
chore(deps): upgrade dependencies.
Required changes to comply with new type definitions as graphql changes from flow to typescript.
Configuration menu - View commit details
-
Copy full SHA for 339c569 - Browse repository at this point
Copy the full SHA 339c569View commit details -
Configuration menu - View commit details
-
Copy full SHA for bde8e53 - Browse repository at this point
Copy the full SHA bde8e53View commit details -
fix(generate): addResolversToSchema should update enums and scalars o…
…f original schema. Closes #19.
Configuration menu - View commit details
-
Copy full SHA for 80d196c - Browse repository at this point
Copy the full SHA 80d196cView commit details -
fix(healSchema): healing schema requires reparsing default field valu…
…es as types are updated.
Configuration menu - View commit details
-
Copy full SHA for e3b04d0 - Browse repository at this point
Copy the full SHA e3b04d0View commit details -
fix(healSchema): revert most recent change
healSchema cannot automatically include reparsing of default values. Automatic reparsing assumes that the default value corresponds to the old type, but that may not always be the case, and when it is not the case, the default value will be lost if automatic reparsing is implemented as in 6.3.6.
Configuration menu - View commit details
-
Copy full SHA for 71e2459 - Browse repository at this point
Copy the full SHA 71e2459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49ee536 - Browse repository at this point
Copy the full SHA 49ee536View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd2363b - Browse repository at this point
Copy the full SHA bd2363bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad4e23a - Browse repository at this point
Copy the full SHA ad4e23aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef14f8d - Browse repository at this point
Copy the full SHA ef14f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f313bd - Browse repository at this point
Copy the full SHA 6f313bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f407f - Browse repository at this point
Copy the full SHA a2f407fView commit details -
feat(cloning): export methods to shallow clone types and directives a…
…nd deep clone schemas
Configuration menu - View commit details
-
Copy full SHA for 11104f0 - Browse repository at this point
Copy the full SHA 11104f0View commit details -
chore(deps): drop support for graphql 14.0 and 14.1
as refactoring relies heavily on toConfig
Configuration menu - View commit details
-
Copy full SHA for 771f310 - Browse repository at this point
Copy the full SHA 771f310View commit details -
refactor(transforms): export wrapSchema
wrapSchema better describes what transformSchema does, it wraps requests to initial schema with request and response transforms, including any outer schema modifications that themselves can modify the response.
Configuration menu - View commit details
-
Copy full SHA for faad819 - Browse repository at this point
Copy the full SHA faad819View commit details -
feat(filterSchema): provide type argument to type filter
also removes unnecessary checks considering defaults provides lint: default values obviate checks
Configuration menu - View commit details
-
Copy full SHA for c6b5470 - Browse repository at this point
Copy the full SHA c6b5470View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f3a13 - Browse repository at this point
Copy the full SHA c7f3a13View commit details -
fix(cloneSchema): healSchema requires a new array for object interfac…
…es and union types. toConfig provides a new map for fields, but not new arrays.
Configuration menu - View commit details
-
Copy full SHA for 538461e - Browse repository at this point
Copy the full SHA 538461eView commit details -
refactor: rewrite transforms visitSchema to use cloneSchema and healT…
…ypeMap. Required changes to healTypeMap to handle removed types and/or fields.
Configuration menu - View commit details
-
Copy full SHA for b55bc82 - Browse repository at this point
Copy the full SHA b55bc82View commit details -
refactor: deprecate stripResolvers argument for transforms visitSchema
use wrapSchema instead
Configuration menu - View commit details
-
Copy full SHA for cf69bd8 - Browse repository at this point
Copy the full SHA cf69bd8View commit details -
refactor: use graphql toConfig() instead of fieldToFieldConfig
toConfig does recreate the field map even though it does not recreate object interfaces and union types arrays.
Configuration menu - View commit details
-
Copy full SHA for ce77e4d - Browse repository at this point
Copy the full SHA ce77e4dView commit details -
refactor: use cloneType and healTypeMap within mergeSchemas instead o…
…f recreateType. Requires modifying healTypeMap to handle stub types.
Configuration menu - View commit details
-
Copy full SHA for ecf3066 - Browse repository at this point
Copy the full SHA ecf3066View commit details -
refactor: rename healTypeMap to healTypes
As does not just heal typeMap, also heals types within directives.
Configuration menu - View commit details
-
Copy full SHA for d52e4f6 - Browse repository at this point
Copy the full SHA d52e4f6View commit details -
rename cloneSchema to clone move healSchema to new file heal break out SchemaDirectiveVisitor and visitSchema from SchemaVisitor
Configuration menu - View commit details
-
Copy full SHA for 567967f - Browse repository at this point
Copy the full SHA 567967fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0854ed5 - Browse repository at this point
Copy the full SHA 0854ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfc3db7 - Browse repository at this point
Copy the full SHA cfc3db7View commit details -
feat(visitSchema): export consolidated visitSchema method
Takes an object of type SchemaVisitorDef, a SchemaVisitor class instance, an array of either, or a function that returns the schema visitor spec.
Configuration menu - View commit details
-
Copy full SHA for 68bf8cb - Browse repository at this point
Copy the full SHA 68bf8cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b49371 - Browse repository at this point
Copy the full SHA 1b49371View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf39855 - Browse repository at this point
Copy the full SHA bf39855View commit details -
fix(visitSchema): visitSchema must reinitialize private variables whe…
…n updating interfaces.
Configuration menu - View commit details
-
Copy full SHA for 0150e02 - Browse repository at this point
Copy the full SHA 0150e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2ddb8 - Browse repository at this point
Copy the full SHA 0b2ddb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eec7b5 - Browse repository at this point
Copy the full SHA 0eec7b5View commit details -
fix(release): broken npmignore
due to incomplete npmignore whitelist
Configuration menu - View commit details
-
Copy full SHA for aa5728b - Browse repository at this point
Copy the full SHA aa5728bView commit details -
refactor(delegateToSchema): refactor away delegateToRemoteSchema
Allow delegateToSchema to take remote execution options or a schema execution config containg remote execution options. Remove unnecessary RemoteSchemaExecutionConfig type.
Configuration menu - View commit details
-
Copy full SHA for 3965da5 - Browse repository at this point
Copy the full SHA 3965da5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39fe30b - Browse repository at this point
Copy the full SHA 39fe30bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c78947 - Browse repository at this point
Copy the full SHA 4c78947View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ee6bb - Browse repository at this point
Copy the full SHA e8ee6bbView commit details -
refactor(schemaRecreation): deprecate most of schema recreation now t…
…hat healTypes operational
Configuration menu - View commit details
-
Copy full SHA for 01d99f4 - Browse repository at this point
Copy the full SHA 01d99f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2d9b1c - Browse repository at this point
Copy the full SHA f2d9b1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52ca30f - Browse repository at this point
Copy the full SHA 52ca30fView commit details -
fix(remote schemas): must add __typename to remote query to properly …
…resolve interfaces. Error will occur only when querying directly on the remote schema, as delegateToSchema automatically adds type names. addTypenameToAbstract is necessary for resolveType to work in the parent schema just as checkResultAndHandleErrors is necessary for resolve to work!
Configuration menu - View commit details
-
Copy full SHA for 3f79614 - Browse repository at this point
Copy the full SHA 3f79614View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4df9ad - Browse repository at this point
Copy the full SHA b4df9adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3352229 - Browse repository at this point
Copy the full SHA 3352229View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19295f3 - Browse repository at this point
Copy the full SHA 19295f3View commit details -
feat(utils): getResolversFromSchema
add function to get graphql-tools style resolvers map from an existing schema, parallels graphql-js toConfig.
Configuration menu - View commit details
-
Copy full SHA for 9cb29df - Browse repository at this point
Copy the full SHA 9cb29dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 686d9d5 - Browse repository at this point
Copy the full SHA 686d9d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6572568 - Browse repository at this point
Copy the full SHA 6572568View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50d8250 - Browse repository at this point
Copy the full SHA 50d8250View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e87082 - Browse repository at this point
Copy the full SHA 9e87082View commit details -
fix(transforms): to properly allow chaining.
BREAKING CHANGE: Result transforms should be reversed, so that multiple request and result transforms can be properly executed. Request and result transforms must be inverted when transforming a schema, as these transforms work to move from the final schema back to the original schema. These CHANGES have the potential to be BREAKING.
Configuration menu - View commit details
-
Copy full SHA for a9a6ff6 - Browse repository at this point
Copy the full SHA a9a6ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3abc07 - Browse repository at this point
Copy the full SHA c3abc07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52128a3 - Browse repository at this point
Copy the full SHA 52128a3View commit details -
feat(RenameTypes): remove extra result traversal
RenameTypes transform now relies on wrapping the resolveType methods within the outer schema instead of using transformResult. Required changing the resolveFromParentTypename to return a string instead of an object, as the string may need to be renamed before it corresponds to a type in the outer schema. So that the transform can be used as a operation transform as well, the transformResult function is preserved, but a new flag is used to skip result transformation when the resolvers will be responsible for transforming the result, i.e. when used with transformSchema/wrapSchema.
Configuration menu - View commit details
-
Copy full SHA for 9a5b06a - Browse repository at this point
Copy the full SHA 9a5b06aView commit details -
fix(docs): use delegateToSchema
instead of info.mergeInfo.delegateToSchema
Configuration menu - View commit details
-
Copy full SHA for eca442f - Browse repository at this point
Copy the full SHA eca442fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c9f6cd - Browse repository at this point
Copy the full SHA 8c9f6cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70fceca - Browse repository at this point
Copy the full SHA 70fcecaView commit details -
fix(deps): correct graphql peer dependency.
Last npm-check-updates update upgraded the peer dependency instead of dev dependency.
Configuration menu - View commit details
-
Copy full SHA for 47cbda7 - Browse repository at this point
Copy the full SHA 47cbda7View commit details -
refactor(mergeSchemas): consolidate code
Remove unnecessary MergeTypeCandidatesResult type. Use new SchemaLikeObject type.
Configuration menu - View commit details
-
Copy full SHA for 24d17bb - Browse repository at this point
Copy the full SHA 24d17bbView commit details -
refactor(mergeSchemas): remove variable
Remove unnecessary variable.
Configuration menu - View commit details
-
Copy full SHA for a1296f3 - Browse repository at this point
Copy the full SHA a1296f3View commit details -
refactor(utils): consolidate more utils.
Consolidate forEachField functions. Move forEachField and forEachDefaultValue to utils folder. Change forEachField, forEachDefaultValue and mergeDeep to no longer use default exports to fit style of other utils files. TODO: streamline use/nonuse of default exports within entire library.
Configuration menu - View commit details
-
Copy full SHA for 775747e - Browse repository at this point
Copy the full SHA 775747eView commit details -
feat(mergeSchemas): allow transform specification
Allow specification of transforms directly within mergeSchemas. Allows for removal of an additional round of delegationg when merging transformed schemas. Requires schema wrapping prior to registering a type candidate for merge.
Configuration menu - View commit details
-
Copy full SHA for 15c24eb - Browse repository at this point
Copy the full SHA 15c24ebView commit details -
refactor(subschemas): improve delegation workflow
- refine SubschemaConfig type to allow using identical objects to merge different schemas and then delegate to those subschemas. - consolidate SchemaExecutionConfig type into SubschemaConfig type. - add separate subschemas, types, and typeDefs options to mergeSchemas to highlight different things that are being merged -- schemas options still works. - allow wrapSchema to take just a subschemaConfig as an argument, will apply the subschemas execution configuration and transforms to yield the appropriate delegating outer schema. - add rootValue to delegateToSchema options and move all other newish delegateToSchema options within the subSchemaConfig. rootValue is parallel in some ways to context, so ok to have at top level. - rename SubSchemaConfig => SubschemaConfig - - remove support for renaming types based on modification of an outer schema, this breaks when inner type is renamed and outer schema has interface not defined in inner schema. ExpandAbstractTypes currently handles this use case, but works only when the delegated result contains the correct typename. An alternative workflow would be to add the outer interface prior to renaming to each subschema and then merge interfaces. - remove resolversTransformResult property from transforms, no longer being used. - update docs! This change paves the way for annotating a result with a reference to the delegated schema. With a modified merged resolver, an outer merged schema could check to see if it received a partial result of a merged type and then merge the partial result with the necessary additional schemas defining the type.
Configuration menu - View commit details
-
Copy full SHA for d978ef6 - Browse repository at this point
Copy the full SHA d978ef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7e7b8b - Browse repository at this point
Copy the full SHA d7e7b8bView commit details -
fix(stitching): change merged result format
Merged results that are null may carry errors from deeper within the query tree. Previous merged result format carries this metadata within a property on the result, but null has no properties. New result format differs only in that a null result is transformed to an object with a special property signifying that the result was null, so that metadata can be added in the same way. When merging within defaultMergedResolver, all null checks must check for this property as well. Because a result may be changed during annotation, the function is essentially no longer annotating only/i.e. modifying the object in place, and so it has been renamed to reflect that, with forEach changed to map when processing a list. Fixes #26.
Configuration menu - View commit details
-
Copy full SHA for d2173f3 - Browse repository at this point
Copy the full SHA d2173f3View commit details -
refactor(handleResult): remove some extra logic checks.
Streamlines code to skip a few extra checks with full recursive version, i.e. composite types do not require parsing.
Configuration menu - View commit details
-
Copy full SHA for 300f86d - Browse repository at this point
Copy the full SHA 300f86dView commit details -
refactor(handleNull): refactor to handleErrors
Consolidates a bit more code within checkResultAndHandleErrors.
Configuration menu - View commit details
-
Copy full SHA for 743bc30 - Browse repository at this point
Copy the full SHA 743bc30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18c03b8 - Browse repository at this point
Copy the full SHA 18c03b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb45bbb - Browse repository at this point
Copy the full SHA fb45bbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52104a9 - Browse repository at this point
Copy the full SHA 52104a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16fa015 - Browse repository at this point
Copy the full SHA 16fa015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b33988 - Browse repository at this point
Copy the full SHA 7b33988View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad6015 - Browse repository at this point
Copy the full SHA 1ad6015View commit details -
RenameObjectFields and RenameRootFields should work when used together.
Configuration menu - View commit details
-
Copy full SHA for a4ec882 - Browse repository at this point
Copy the full SHA a4ec882View commit details -
fix(transforms): cloneSchema prior to transformSchema
This allows individual schema transforms to save intermediate schema representations even if other schema transformations modify them in place.
Configuration menu - View commit details
-
Copy full SHA for a5a9a1a - Browse repository at this point
Copy the full SHA a5a9a1aView commit details -
refactor(TransformObjectFields)
visitSchema in this fork modifies schemas in place, but this change makes code more explicit that final schema is being used as base for transformRequest.
Configuration menu - View commit details
-
Copy full SHA for 5b1790d - Browse repository at this point
Copy the full SHA 5b1790dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d5e29f - Browse repository at this point
Copy the full SHA 8d5e29fView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa79488 - Browse repository at this point
Copy the full SHA aa79488View commit details -
refactor(addTypenameToAbstract)
Remove unnecessary search. Duplicate typename fields are also included elsewhere!
Configuration menu - View commit details
-
Copy full SHA for 8dbc188 - Browse repository at this point
Copy the full SHA 8dbc188View commit details -
Use graphql TypeInfo and visitWithTypeInfo to keep track of types during traversal.
Configuration menu - View commit details
-
Copy full SHA for 06f9d5e - Browse repository at this point
Copy the full SHA 06f9d5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca8382a - Browse repository at this point
Copy the full SHA ca8382aView commit details -
Move renameFieldNode, wrapFieldNode, and collectFields into utils.
Configuration menu - View commit details
-
Copy full SHA for ba609d2 - Browse repository at this point
Copy the full SHA ba609d2View commit details -
fix(stitching): improve error proxying for lists
required significant refactoring of error handling
Configuration menu - View commit details
-
Copy full SHA for cf12fdf - Browse repository at this point
Copy the full SHA cf12fdfView commit details -
fix(WrapType): fix root type edge case
Allow wrapping root types even when a root type value is not defined for the query.
Configuration menu - View commit details
-
Copy full SHA for db10787 - Browse repository at this point
Copy the full SHA db10787View commit details -
fix(handleList): missing context
linter thought it referred to mocha context...
Configuration menu - View commit details
-
Copy full SHA for 378e8b5 - Browse repository at this point
Copy the full SHA 378e8b5View commit details -
fix(stitching): wrapping and hoisting field transforms
BREAKING CHANGE: Previous version of createMergedResolver did not work with multiple layers of field wrapping. extractFields was not working, deprecated in favor of hoistFieldNodes. createMergedResolver now relies on two helper functions, dehoistResult, complement to hoistFieldNoes, and unwrapResult, complement to wrapFieldNodes.
Configuration menu - View commit details
-
Copy full SHA for 332c758 - Browse repository at this point
Copy the full SHA 332c758View commit details -
refactor(transforms): streamline with upstream
remove all uses of fieldToFieldConfig in favor of type.toConfig() will support extensions for all graphql objects allow renaming of root and object fields without requiring field argument if field unchanged.
Configuration menu - View commit details
-
Copy full SHA for c95345a - Browse repository at this point
Copy the full SHA c95345aView commit details -
refactor(createMergedResolver)
Precompile resolver at build time. Default delimeter to '__gqtlf__'.
Configuration menu - View commit details
-
Copy full SHA for 738f129 - Browse repository at this point
Copy the full SHA 738f129View commit details -
Update field name in tests to better reflect what is being tests.
Configuration menu - View commit details
-
Copy full SHA for 2d6e9c9 - Browse repository at this point
Copy the full SHA 2d6e9c9View commit details -
feat(WrapFields): add new transform
--WrapFields can wrap a subset of a types fields with any number of wrapping fields and types. --fixes createMergedResolver and hoistFields. --refactors WrapType to use the underlying more generic WrapFields transform.
Configuration menu - View commit details
-
Copy full SHA for e00d693 - Browse repository at this point
Copy the full SHA e00d693View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83d00ac - Browse repository at this point
Copy the full SHA 83d00acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c3565 - Browse repository at this point
Copy the full SHA 90c3565View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6c443 - Browse repository at this point
Copy the full SHA bb6c443View commit details -
fix(filterToSchema): remove map in favor of plain object
some links (e.g. apollo-upload-client) may expect a plain object with constructor.name === 'Object'
Configuration menu - View commit details
-
Copy full SHA for e286205 - Browse repository at this point
Copy the full SHA e286205View commit details -
feat(stitching): enable proxying uploads
Adds a new scalar for the gateway and a new server to server link that allows proxying of remote file uploads using the graphql-upload format.
Configuration menu - View commit details
-
Copy full SHA for 6a25db3 - Browse repository at this point
Copy the full SHA 6a25db3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6252261 - Browse repository at this point
Copy the full SHA 6252261View commit details -
Configuration menu - View commit details
-
Copy full SHA for d13bd2b - Browse repository at this point
Copy the full SHA d13bd2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00925cc - Browse repository at this point
Copy the full SHA 00925ccView commit details -
questionable improvement in brevity vs clarity
Configuration menu - View commit details
-
Copy full SHA for 472ad97 - Browse repository at this point
Copy the full SHA 472ad97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d4e8eb - Browse repository at this point
Copy the full SHA 0d4e8ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4483f00 - Browse repository at this point
Copy the full SHA 4483f00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 348cc1b - Browse repository at this point
Copy the full SHA 348cc1bView commit details -
fix(wrapping): wrapped field names must be unique.
...so they can be combined from multiple schemas. This change also adds use of a delimeter when wrapping fields and fixes specification of the delimeter more broadly, which was not set up appropriately within the dehoist property. The delimeter can now be specified when using the WrapFields and WrapType transforms. This change also removes the now unnecessary fromField property, as renaming no longer requires a dedicated resolver now that it just uses aliases.
Configuration menu - View commit details
-
Copy full SHA for dffc7eb - Browse repository at this point
Copy the full SHA dffc7ebView commit details -
feat(transforms): add HoistField transform
New HoistField transform allows moving a field on a remote type into a higher level object within the wrapping schema. The appendFields and filterFields methods from the WrapFIelds transform have been moved to the utils directory and exported; filterFields has been renamed to removeFields to better describe what it does.
Configuration menu - View commit details
-
Copy full SHA for 898d421 - Browse repository at this point
Copy the full SHA 898d421View commit details -
refactor(addResolveFunctionsToSchema)
remove function hiding type checks
Configuration menu - View commit details
-
Copy full SHA for 144548f - Browse repository at this point
Copy the full SHA 144548fView commit details -
Remove references to resolve functions in favor of the generic term "resolver." Retain old exports for backwards compatibility.
Configuration menu - View commit details
-
Copy full SHA for 415b5d4 - Browse repository at this point
Copy the full SHA 415b5d4View commit details -
new version of typescript and iterall don't play nice with this code
Configuration menu - View commit details
-
Copy full SHA for bea9d69 - Browse repository at this point
Copy the full SHA bea9d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6033344 - Browse repository at this point
Copy the full SHA 6033344View commit details -
No need to prealias when wrapping if using deep merge instead of assign to merge types from multiple schemas, as the query tree should always be unique. If not prealiasing when wrapping, wrapping does not require a delimeter, and so hoisting does not require a prefix either as all delimeters are used only when hoisting.
Configuration menu - View commit details
-
Copy full SHA for 285274d - Browse repository at this point
Copy the full SHA 285274dView commit details -
fix(stitching): custom scalars/enums
Provide support for overriding scalars or enums used within input objects.
Configuration menu - View commit details
-
Copy full SHA for 0db56d7 - Browse repository at this point
Copy the full SHA 0db56d7View commit details -
Simply example usage within test. Inclusion of the GraphQLUpload scalar within the resolver map is only necessary when merging an executable "local" subschema, as if the subschema has the original GraphqlUpload scalar defined, it will throw when attempting to serialize after it is merged into the gateway. The custom GraphqlUpload scalar can be used in that case to avoid that either within the local subschema or within the gateway. In this case, the subschema is remote, and so the subschema custom scalar is imported with the default serialize method that does not throw.
Configuration menu - View commit details
-
Copy full SHA for 9e5fc5b - Browse repository at this point
Copy the full SHA 9e5fc5bView commit details -
refactor(stitching): type merging
simplifies logic around type merging to automatically merge types that have merging resolvers specified.
Configuration menu - View commit details
-
Copy full SHA for e51d11f - Browse repository at this point
Copy the full SHA e51d11fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bd4528 - Browse repository at this point
Copy the full SHA 0bd4528View commit details -
fix(stitching): do not make sync delegation async
delegateToSchema now returns a synchronous result when possible rather than always returning a promise. merging types is also performed synchronously when possible. Fixes #36.
Configuration menu - View commit details
-
Copy full SHA for 491c9dd - Browse repository at this point
Copy the full SHA 491c9ddView commit details -
fix(healing): empty types should be pruned even if fields of those ty…
…pes still exist Fixes #37.
Configuration menu - View commit details
-
Copy full SHA for 4f3a0b7 - Browse repository at this point
Copy the full SHA 4f3a0b7View commit details -
feat(stitching): add returnType option to delegateToSchema
facilitates proxying from objects to lists or possibly otherwise incompatible schemas, see #33.
Configuration menu - View commit details
-
Copy full SHA for bcb04ba - Browse repository at this point
Copy the full SHA bcb04baView commit details -
feat(stitching): export createDelegatingRequest and delegateRequest m…
…ethods. May be useful for use with dataloaders or memoization. See ardatan#724
Configuration menu - View commit details
-
Copy full SHA for 3fecf4e - Browse repository at this point
Copy the full SHA 3fecf4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b3896f - Browse repository at this point
Copy the full SHA 2b3896fView commit details -
refactor(mergeTypes): provide flag
Allows specification that type merging is only performed in a wrapping schema without overriding info object. delegateToSchema will likely be used to obtain additional fields from subschemas, but only the initial wrapping delegateToSchema call should mergeTypes, otherwise type merging will never conclude. Previously this was done by creating a new info object.
Configuration menu - View commit details
-
Copy full SHA for 9d74412 - Browse repository at this point
Copy the full SHA 9d74412View commit details -
- Default delegateToSchema operation to the original operation for root fields and query otherwise. - Change mergeTypes option to skipTypeMerging to reverse default so that skipTypeMerging should be specified for mergeTypeResolvers but can be omitted for stitching on gateway - serialize original variable values so that they can be ommited by default
Configuration menu - View commit details
-
Copy full SHA for 3a23a63 - Browse repository at this point
Copy the full SHA 3a23a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8754452 - Browse repository at this point
Copy the full SHA 8754452View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60e04d6 - Browse repository at this point
Copy the full SHA 60e04d6View commit details -
fix(delegateToSchema): standardize args format
now that all directly proxied args are serialized automatically, including variables, appropriate to standardize args passed to delegateToSchema. Previously, the typeName would be inferred from the proxy target, but serialization would be according to the gateway schema if the type names matched. This would introduce a lot of edge cases and was only necessary as a workaround to facilitate serialization of variables. Now we can standardize as follows: args format is the internal representation of the proxy target schema. By default, local schemas internal representation will be imported, so that local schema custom enums/scalars do not require manual serialization. For remote schemas should, the internal and external representation is the same, so this is the same as the external representation. If the gateway introduces a new internal representation, args must be converted to the old internal representation manually. addresses #34 reverts fd1bd8f#diff-06b180be3290dd53bea4c1c98c9dfdd2
Configuration menu - View commit details
-
Copy full SHA for 54b6a9c - Browse repository at this point
Copy the full SHA 54b6a9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dedb1ae - Browse repository at this point
Copy the full SHA dedb1aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for cefa4db - Browse repository at this point
Copy the full SHA cefa4dbView commit details -
refactor(AddArgumentsAsVariables): to AddArguments
Why add arguments as variables when you can just add as an AST with graphql utility method?
Configuration menu - View commit details
-
Copy full SHA for d5f1a9a - Browse repository at this point
Copy the full SHA d5f1a9aView commit details -
refactor(AddArguments): transform not necessary
Additional arguments can be handled within initial proxy query creation just like a change in operation or fieldName.
Configuration menu - View commit details
-
Copy full SHA for bd907f9 - Browse repository at this point
Copy the full SHA bd907f9View commit details -
refactor(delegateToSchema): organize imports
Also export useful transform application methods.
Configuration menu - View commit details
-
Copy full SHA for 2a142e5 - Browse repository at this point
Copy the full SHA 2a142e5View commit details -
delegateRequest should take a query created for the targetSchema prior to application of request transforms. If request batching/caching/manipulation is to be performed, it should be possible to do this before or after request transforms are applied. Now createRequestFromInfo and the underlying createRequest methods create requests for the targetSchema prior to application of request transforms, and so that allows for a hook there. Using an Apollo link within the subschema config passed to delegateRequest allows for manipulation after request transforms are applied.
Configuration menu - View commit details
-
Copy full SHA for 284eca3 - Browse repository at this point
Copy the full SHA 284eca3View commit details -
feat(stitching): support advanced type merging
Also fixes algorithmic error in type merging in which previously not recorded the correct originating subschema for fields. Nested type merging is now enabled, with tests (hopefully!) to follow.
Configuration menu - View commit details
-
Copy full SHA for aecf495 - Browse repository at this point
Copy the full SHA aecf495View commit details -
fix(stitching): add arguments as variables
Reverts 3144e41. Adding args as variables can be useful if using only known queries.
Configuration menu - View commit details
-
Copy full SHA for 5790c6b - Browse repository at this point
Copy the full SHA 5790c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb23115 - Browse repository at this point
Copy the full SHA fb23115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e8cad0 - Browse repository at this point
Copy the full SHA 6e8cad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5831e92 - Browse repository at this point
Copy the full SHA 5831e92View commit details -
feat(merging): check subschema rather than fragment for merging
allows for memoization as delegation plan no longer dependent on object includes additional refactoring and code cleanup drawback is that keys for fields cannot be spread across subschemas
Configuration menu - View commit details
-
Copy full SHA for cd357be - Browse repository at this point
Copy the full SHA cd357beView commit details -
feat(delegation): selectionSet option
Specifying the selection Set option can indicate that there are no existing arguments. Use selectionSets instead of fragments for type merging.
Configuration menu - View commit details
-
Copy full SHA for be89138 - Browse repository at this point
Copy the full SHA be89138View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6030507 - Browse repository at this point
Copy the full SHA 6030507View commit details -
fix(merging): fixes merging for non root types
adds a canonical test
Configuration menu - View commit details
-
Copy full SHA for 3a1560f - Browse repository at this point
Copy the full SHA 3a1560fView commit details -
refactor(addMockFunctionsToSchema)
shorten name, retain old name for backwards compatibility
Configuration menu - View commit details
-
Copy full SHA for 86fa099 - Browse repository at this point
Copy the full SHA 86fa099View commit details -
refactor(delegationTransforms)
separate out function, some of these can be precompiled.
Configuration menu - View commit details
-
Copy full SHA for 33647bf - Browse repository at this point
Copy the full SHA 33647bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce834ff - Browse repository at this point
Copy the full SHA ce834ffView commit details -
feat(merging): set up default mergeTypeResolver
mergeType resolver functions can also simply be named resolve.
Configuration menu - View commit details
-
Copy full SHA for 9e3048c - Browse repository at this point
Copy the full SHA 9e3048cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a58a18 - Browse repository at this point
Copy the full SHA 6a58a18View commit details -
Closes #30. Again. Not sure if eslint will work better than tslint in terms of this.
Configuration menu - View commit details
-
Copy full SHA for 89fa13f - Browse repository at this point
Copy the full SHA 89fa13fView commit details -
fix(generation): allow modification of default scalar types
Add back support, although still not recommended.
Configuration menu - View commit details
-
Copy full SHA for 1c0a27d - Browse repository at this point
Copy the full SHA 1c0a27dView commit details -
chore(linting): switch from tslint to eslint
permanently fixes #30 aligns style rules with upstream graphql
Configuration menu - View commit details
-
Copy full SHA for f89df7f - Browse repository at this point
Copy the full SHA f89df7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9367443 - Browse repository at this point
Copy the full SHA 9367443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fdb6f6 - Browse repository at this point
Copy the full SHA 6fdb6f6View commit details -
chore(lint): pin eslint-plugin-import to 2.22.0
To avoid windows import/order error, see: import-js/eslint-plugin-import#1643
Configuration menu - View commit details
-
Copy full SHA for dde3be7 - Browse repository at this point
Copy the full SHA dde3be7View commit details -
chore(prettier): use prettier!
Run prettier on codebase. Add prettier-check to ci workflow.
Configuration menu - View commit details
-
Copy full SHA for a99ae19 - Browse repository at this point
Copy the full SHA a99ae19View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac51b57 - Browse repository at this point
Copy the full SHA ac51b57View commit details -
chore(ci): add releaseonly option
for manually releasing immediately after testing!
Configuration menu - View commit details
-
Copy full SHA for cd944d0 - Browse repository at this point
Copy the full SHA cd944d0View commit details -
fix(transformSchema): handle schemaConfig objects
Regression caused by 3c3a256. Fixes gatsbyjs/gatsby#21443
Configuration menu - View commit details
-
Copy full SHA for 55a15ef - Browse repository at this point
Copy the full SHA 55a15efView commit details -
chore(lint): fix a few eslint issues
instead of disabling a few rules
Configuration menu - View commit details
-
Copy full SHA for 8ff2fda - Browse repository at this point
Copy the full SHA 8ff2fdaView commit details -
feat(graphql): initial v15 support.
Does not yet support v15 specific features that require graphql version checking, i.e. interfaces that implement interfaces, but existing tests should pass. A few unnecessary verbose tests deleted.
Configuration menu - View commit details
-
Copy full SHA for a47550a - Browse repository at this point
Copy the full SHA a47550aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0186c - Browse repository at this point
Copy the full SHA 9a0186cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e05dec7 - Browse repository at this point
Copy the full SHA e05dec7View commit details -
tsc must run successfully for both graphql v14 and v15
Configuration menu - View commit details
-
Copy full SHA for dcf18bd - Browse repository at this point
Copy the full SHA dcf18bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f1ec07 - Browse repository at this point
Copy the full SHA 1f1ec07View commit details -
Configuration menu - View commit details
-
Copy full SHA for a509d3e - Browse repository at this point
Copy the full SHA a509d3eView commit details -
chore(deps): remove unnecessary dependency
@types/supertest was also hiding need for explicit inclusion of dom within typescript libs to avoid apollo-link-http-common related errors on node, see #41 and apollographql/apollo-link#544
Configuration menu - View commit details
-
Copy full SHA for 3b46556 - Browse repository at this point
Copy the full SHA 3b46556View commit details -
chore(deps): remove dev dependency
@types/apollo-upload-client not necessary
Configuration menu - View commit details
-
Copy full SHA for e00003a - Browse repository at this point
Copy the full SHA e00003aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74ba001 - Browse repository at this point
Copy the full SHA 74ba001View commit details -
provide cross-compatibility for graphql upload v9 and v10 in exported GraphQLUpload scalar
Configuration menu - View commit details
-
Copy full SHA for 0f50240 - Browse repository at this point
Copy the full SHA 0f50240View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21f9509 - Browse repository at this point
Copy the full SHA 21f9509View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5180bfb - Browse repository at this point
Copy the full SHA 5180bfbView commit details -
fix(ci): properly polyfill graphql v14.1 and 14.2
to properly support all graphql versions >= v0.12
Configuration menu - View commit details
-
Copy full SHA for 5fdb8d2 - Browse repository at this point
Copy the full SHA 5fdb8d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02098e0 - Browse repository at this point
Copy the full SHA 02098e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c584a - Browse repository at this point
Copy the full SHA 97c584aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be5d53 - Browse repository at this point
Copy the full SHA 2be5d53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d0e666 - Browse repository at this point
Copy the full SHA 8d0e666View commit details -
feat(RenameRootTypes): add new transform
Fixes healing, which previously ignored changes in root types.
Configuration menu - View commit details
-
Copy full SHA for ac81da8 - Browse repository at this point
Copy the full SHA ac81da8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bad75aa - Browse repository at this point
Copy the full SHA bad75aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 210662c - Browse repository at this point
Copy the full SHA 210662cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86d0a6c - Browse repository at this point
Copy the full SHA 86d0a6cView commit details -
feat(mapSchema): initial version
mapSchema enables transformation of schema objects without modification of the original schema. See graphql/graphql-js#1199
Configuration menu - View commit details
-
Copy full SHA for 98964d0 - Browse repository at this point
Copy the full SHA 98964d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f85c76 - Browse repository at this point
Copy the full SHA 5f85c76View commit details -
toConfig returns an actual configuration, rather than a thunk.
Configuration menu - View commit details
-
Copy full SHA for 39f2a28 - Browse repository at this point
Copy the full SHA 39f2a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcbb674 - Browse repository at this point
Copy the full SHA fcbb674View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed5d610 - Browse repository at this point
Copy the full SHA ed5d610View commit details -
Configuration menu - View commit details
-
Copy full SHA for 041d2ab - Browse repository at this point
Copy the full SHA 041d2abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54c04e0 - Browse repository at this point
Copy the full SHA 54c04e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a59345b - Browse repository at this point
Copy the full SHA a59345bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61047fd - Browse repository at this point
Copy the full SHA 61047fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62d8554 - Browse repository at this point
Copy the full SHA 62d8554View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8eec05 - Browse repository at this point
Copy the full SHA d8eec05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 121b3e1 - Browse repository at this point
Copy the full SHA 121b3e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1a2129 - Browse repository at this point
Copy the full SHA a1a2129View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17229f5 - Browse repository at this point
Copy the full SHA 17229f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa2a1d4 - Browse repository at this point
Copy the full SHA fa2a1d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d454b - Browse repository at this point
Copy the full SHA 78d454bView commit details -
Streamline mapper selection for types and directives. Lays groundwork for additional SchemaMapper object formats, i.e. the resolver map format with specification of individual types/directives by name.
Configuration menu - View commit details
-
Copy full SHA for f0cee57 - Browse repository at this point
Copy the full SHA f0cee57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a6da66 - Browse repository at this point
Copy the full SHA 1a6da66View commit details -
fix(tests): v12 and v13 extensionASTNode support
v12 does not support extensionASTNodes v13 supports extensionASTNodes for query, mutation, and interface types
Configuration menu - View commit details
-
Copy full SHA for d0c5b78 - Browse repository at this point
Copy the full SHA d0c5b78View commit details -
refactor(RenameTypes): to use mapSchema
MapSchema actually can be used to rename scalars -- even to rename specified types -- because rewiring does not modify the original types (as opposed to healing).
Configuration menu - View commit details
-
Copy full SHA for 0317114 - Browse repository at this point
Copy the full SHA 0317114View commit details -
refactor(organize): folders and types
Use interfaces over tpes whenever possible as per official TypeScript recommendation, so as to support declaration merging. Separate delegation methods from stitching. Rename folders to verbs when possible for consistency. Rename transforms folder => wrap. Move makeRemoteExecutableSchema to wrap folder, as it wraps a remote schema.
Configuration menu - View commit details
-
Copy full SHA for b8f145a - Browse repository at this point
Copy the full SHA b8f145aView commit details -
refactor(npmignore): into package.json
Use files property within package json to white-list files in straightforward fashion. Do not publish extra markdown/images.
Configuration menu - View commit details
-
Copy full SHA for 9ccb825 - Browse repository at this point
Copy the full SHA 9ccb825View commit details -
using mapSchema rather than visitSchema changes print(schema) order
Configuration menu - View commit details
-
Copy full SHA for d994577 - Browse repository at this point
Copy the full SHA d994577View commit details -
Configuration menu - View commit details
-
Copy full SHA for d09b778 - Browse repository at this point
Copy the full SHA d09b778View commit details -
fix(toConfig): accept field or inputField as arguments
now that fieldToFieldConfig has been removed, closes #44
Configuration menu - View commit details
-
Copy full SHA for 2abda1b - Browse repository at this point
Copy the full SHA 2abda1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f53371f - Browse repository at this point
Copy the full SHA f53371fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 279aa27 - Browse repository at this point
Copy the full SHA 279aa27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06bc62d - Browse repository at this point
Copy the full SHA 06bc62dView commit details -
fix(addResolveFunctionsToSchema): return modified schema
for backwards compatibility See ardatan/graphql-toolkit@46ce356#commitcomment-37987581
Configuration menu - View commit details
-
Copy full SHA for 390f699 - Browse repository at this point
Copy the full SHA 390f699View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0116a1b - Browse repository at this point
Copy the full SHA 0116a1bView commit details -
refactor(transforms): collect wrapping transforms
move wrapping transforms into separate subfolder
Configuration menu - View commit details
-
Copy full SHA for 96be791 - Browse repository at this point
Copy the full SHA 96be791View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41e4271 - Browse repository at this point
Copy the full SHA 41e4271View commit details -
refactor(wrap): move wrapping resolvers
move wrapping resolvers to wrap folder, was placed in old stitching folder because makeRemoteExecutableSchema was in stitching, but makeRemoteExecutableSchema now belongs in the wrap folder, an older method besides wrapSchema/transformSchema of wrapping a schema, specifically for remote schema.
Configuration menu - View commit details
-
Copy full SHA for e8b68e7 - Browse repository at this point
Copy the full SHA e8b68e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f0c77f - Browse repository at this point
Copy the full SHA 1f0c77fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6414242 - Browse repository at this point
Copy the full SHA 6414242View commit details -
feat(transforms): add interface transforms
- adds TransformCompositeFields as generic transform that can function on fields belonging to objects and interfaces - refactoring TransformObjectFields to use TransformCompositeFIelds - adds TransformInterfaceFields along similar lines - adds RenameInterfaceFields and FilterInterfaceFields in parallel to RenameObjectFields and FilterObjectFields - make supporting types more generic and export them - add test for RenameInterfaceFields
Configuration menu - View commit details
-
Copy full SHA for 29fbb0d - Browse repository at this point
Copy the full SHA 29fbb0dView commit details -
refactor(transforms): remove unnecessary exports
already contained within transforms folder
Configuration menu - View commit details
-
Copy full SHA for 9da8f60 - Browse repository at this point
Copy the full SHA 9da8f60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1dea4 - Browse repository at this point
Copy the full SHA 6f1dea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d91447b - Browse repository at this point
Copy the full SHA d91447bView commit details -
fix(stitching): delegateToSchema args specification
BREAKING CHANGE: Allow specification of args even with root field transformations. Includes changes to createRequestFromInfo and createRequest signatures and related interfaces, streamlining them to only use the targetOperation and targetFieldName, returning to the original upstream graphql-tools behavior of adding args later as a transform. args passed to delegateToSchema, however, are still optional. All args passed to delegateToSchema are serialized using the targetSchema serialization, if available.
Configuration menu - View commit details
-
Copy full SHA for 7dcd006 - Browse repository at this point
Copy the full SHA 7dcd006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b1477c - Browse repository at this point
Copy the full SHA 0b1477cView commit details