Sha256: 540afc52367ea7f74de0b6a6560ea2bc6572ef7381ffda8fc6ffdea4819ba38c
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
## GraphQL::Stitching::Shaper The `Shaper` takes the raw output generated by the `GraphQL::Stitching::Executor` and does the final shaping and cleaning. It removes data that was added while building the result, it also handles cleaning up violations that can only occur at the end, such as bubbling up null violoations. See the [Executor](./docs/executor.md) ```ruby raw_result = GraphQL::Stitching::Executor.new( supergraph: supergraph, plan: plan.to_h, variables: variables, ).perform(document) final_result = GraphQL::Stitching::Shaper.new( supergraph: supergraph, document: document, raw: raw_result).perform! ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-stitching-0.0.1 | docs/shaper.md |