The Graph of Everything - Federated architecture for any API service
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
b69746d2c: 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
}
Published by github-actions[bot] over 2 years ago
12e1e5d72: New Cloudflare KV Cache support!
Now you can basically use Cloudflare Workers' KV Caching system within Mesh;
cache:
cfKv:
namespace: MESH
Breaking changes for other cache packages
Now cache implementations should implement getKeysByPrefix
that returns keys starting with the given prefix.
Response Cache Plugin Improvements
Response Cache plugin needs some complicated cache storage. So the relational entries related to specific cached responses and entities are now kept as seperate cache entries. Thanks to new getKeysByPrefix
, we can now get a response by an entity id for example easier which is more performant.
Updated dependencies [12e1e5d72]
Updated dependencies [12e1e5d72]
Updated dependencies [12e1e5d72]
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
a0950ac6f: Breaking Change:
Now you can set a global customFetch
instead of setting customFetch
individually for each handler. customFetch
configuration field for each handler will no longer work. And also customFetch
needs to be the path of the code file that exports the function as default
. moduleName#exportName
is not supported for now.
While programmatically creating the handlers, now you also need fetchFn
to be passed to the constructor;
new GraphQLHandler({
...,
fetchFn: myFetchFn,
})
readFileOrUrl
's second config
parameter is now required. Also this second parameter should take an object with cwd
, importFn
, fetch
and logger
. You can see the diff of handler's codes as an example.Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
a0950ac6f: Breaking Change:
Now you can set a global customFetch
instead of setting customFetch
individually for each handler. customFetch
configuration field for each handler will no longer work. And also customFetch
needs to be the path of the code file that exports the function as default
. moduleName#exportName
is not supported for now.
While programmatically creating the handlers, now you also need fetchFn
to be passed to the constructor;
new GraphQLHandler({
...,
fetchFn: myFetchFn,
})
readFileOrUrl
's second config
parameter is now required. Also this second parameter should take an object with cwd
, importFn
, fetch
and logger
. You can see the diff of handler's codes as an example.Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
a0950ac6f: Breaking Change:
Now you can set a global customFetch
instead of setting customFetch
individually for each handler. customFetch
configuration field for each handler will no longer work. And also customFetch
needs to be the path of the code file that exports the function as default
. moduleName#exportName
is not supported for now.
While programmatically creating the handlers, now you also need fetchFn
to be passed to the constructor;
new GraphQLHandler({
...,
fetchFn: myFetchFn,
})
readFileOrUrl
's second config
parameter is now required. Also this second parameter should take an object with cwd
, importFn
, fetch
and logger
. You can see the diff of handler's codes as an example.Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
a0950ac6f: Breaking Change:
Now you can set a global customFetch
instead of setting customFetch
individually for each handler. customFetch
configuration field for each handler will no longer work. And also customFetch
needs to be the path of the code file that exports the function as default
. moduleName#exportName
is not supported for now.
While programmatically creating the handlers, now you also need fetchFn
to be passed to the constructor;
new GraphQLHandler({
...,
fetchFn: myFetchFn,
})
readFileOrUrl
's second config
parameter is now required. Also this second parameter should take an object with cwd
, importFn
, fetch
and logger
. You can see the diff of handler's codes as an example.Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
a0950ac6f: Breaking Change:
Now you can set a global customFetch
instead of setting customFetch
individually for each handler. customFetch
configuration field for each handler will no longer work. And also customFetch
needs to be the path of the code file that exports the function as default
. moduleName#exportName
is not supported for now.
While programmatically creating the handlers, now you also need fetchFn
to be passed to the constructor;
new GraphQLHandler({
...,
fetchFn: myFetchFn,
})
readFileOrUrl
's second config
parameter is now required. Also this second parameter should take an object with cwd
, importFn
, fetch
and logger
. You can see the diff of handler's codes as an example.