relay
relay copied to clipboard
Relay is a JavaScript framework for building data-driven React applications.
# Creating issues for Relay When upgrading from Relay 16.1.0 to 16.2.0 (and 0.0.0-main-87bd0f5b) we see new flow errors. We're running flow 0.190.1, so its quite old. There are 9...
This PR upgrades jest from 26 to 29 and makes related changes. The unit tests pass; the `console.error` warnings seem to be pre-existing. Included some of them below. ### GraphQL...
This PR updates our schema validation crate (which was previously not actually used directly by Relay) to report errors using Diagnostics rather than using its bespoke error reporting approach. This...
I know this has been shot down in #2101 already, but not being able to provide our own module-name generator is a major obstacle for us to truly adopting Relay...
Without this change we might panic and crash the compiler/LSP
### fragment ``` fragment SellingProductListFragmentContainer_store_representActiveProducts on Store @argumentDefinitions( count: { type: "Int", defaultValue: 10 } cursor: { type: "ID" } filter: { type: "ProductFilter", defaultValue: { statuses: [ACTIVE], representStatus: ACTIVE...
Hello, with the current `main` version, we observe an (it seems) undocumented behavior when using simple lists that are not ordered. This happens when the same node with a list...
The `package.json` file of `relay-test-utils` does not require `jest`, but attempting to use `createMockEnvironment` in any test runner except for `jest` will result in the following error: ``` ReferenceError: jest...
Depends on #4680 This renames the `GlobalVariables` error to `ExpectedOperationVariableToBeDefined` and emits the error for each problematic variable identifier, instead of a single error for multiple infringements. Also extends the...
Depends on #4679 This extends the `ExpectedOperationVariableToBeDefined` error to include the variable name and type in the diagnostic data. Using this data we create a code action that appends the...