react-relay-network-modern icon indicating copy to clipboard operation
react-relay-network-modern copied to clipboard

Relay Modern Network Layer with middlewares — cache, auth, retry, batch, logger, SSR

Results 52 react-relay-network-modern issues
Sort by recently updated
recently updated
newest added

After switching to use the retry middleware, I missed being able to have access to the request & response objects. This changes brings adds that info to `RRNLRetryMiddlewareError` like `RRNLRequestError`...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

TODO: Confirm `/es` and `/node` imports work correctly Fixes #140

My Graphql Backend expects an `operationName` field to be sent, this aligns with the graphql-over-http draft [spec](https://github.com/graphql/graphql-over-http) Current patch I am using ``` diff --git a/node_modules/react-relay-network-modern/es/RelayRequest.js b/node_modules/react-relay-network-modern/es/RelayRequest.js index 2197cea..af6454a 100644...

**Use-case** In situations where the server invalidates the user's auth token, we have some custom middleware in our network layer that logs a user out. This seems to be fairly...

Jayden Seric wrote an amazing spec for file upload: https://github.com/jaydenseric/graphql-multipart-request-spec It has an implementation for most servers `express`, `koa`, also used in Apollo and Prisma. Will be nice if somebody...

When a middleware changes the `req.fetchOpts.method` to `GET`, at the moment, it will try to send the `body` parameter down to `fetch` which causes an error: ``` TypeError: Window.fetch: HEAD...

I noticed that the noThrow flag only disable throwing for GraphQL errors in the response. For HTTP errors codes coming back from the server an error will be thrown currently...

This line: https://github.com/relay-tools/react-relay-network-modern/blob/master/src/middlewares/cache.js#L84 Is destroying my logs. Can we remove it or is there a way of making the error `e` into something nice? I would prefer it was removed,...

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 15.14.0 to 17.2.3. Release notes Sourced from semantic-release's releases. v17.2.3 17.2.3 (2020-11-16) Bug Fixes mask secrets when characters get uri encoded (ca90b34) v17.2.2 17.2.2 (2020-10-29) Bug Fixes...

dependencies