Minor Changes
-
b69746d: feat(json-schema): new exposeResponseMetadata flag to expose the details of the HTTP responses received from the upstream
responseSchema: ... exposeResponseMetadata: true
Now you will have another field called
$response
in the response type;type MyResponseType { myFooField: String _response: ResponseMetadata } type ResponseMetadata { url: URL status: Int method: String headers: JSON body: String }
Patch Changes
- 12e1e5d: Do not compile JSON Schemas with ajv if function constructors are not supported. This fixes an issue with Mesh and CF Workers. Previously it throws an error because of "new Function" usage
- Updated dependencies [12e1e5d]
- Updated dependencies [12e1e5d]
- Updated dependencies [12e1e5d]
- @graphql-mesh/cross-helpers@0.1.7
- @graphql-mesh/types@0.77.0
- json-machete@0.9.1
- @graphql-mesh/utils@0.36.1