docs/composer.md in graphql-stitching-1.0.4 vs docs/composer.md in graphql-stitching-1.0.5

- old
+ new

@@ -10,10 +10,11 @@ composer = GraphQL::Stitching::Composer.new( query_name: "Query", mutation_name: "Mutation", description_merger: ->(values_by_location, info) { values_by_location.values.join("\n") }, deprecation_merger: ->(values_by_location, info) { values_by_location.values.first }, + default_value_merger: ->(values_by_location, info) { values_by_location.values.first }, directive_kwarg_merger: ->(values_by_location, info) { values_by_location.values.last }, root_field_location_selector: ->(locations, info) { locations.last }, ) ``` @@ -24,9 +25,11 @@ - **`mutation_name:`** _optional_, the name of the root mutation type in the composed schema; `Mutation` by default. The root mutation types from all location schemas will be merged into this type, regardless of their local names. - **`description_merger:`** _optional_, a [value merger function](#value-merger-functions) for merging element description strings from across locations. - **`deprecation_merger:`** _optional_, a [value merger function](#value-merger-functions) for merging element deprecation strings from across locations. + +- **`default_value_merger:`** _optional_, a [value merger function](#value-merger-functions) for merging argument default values from across locations. - **`directive_kwarg_merger:`** _optional_, a [value merger function](#value-merger-functions) for merging directive keyword arguments from across locations. - **`root_field_location_selector:`** _optional_, selects a default routing location for root fields with multiple locations. Use this to prioritize sending root fields to their primary data sources (only applies while routing the root operation scope). This handler receives an array of possible locations and an info object with field information, and should return the prioritized location. The last location is used by default.