# relay-compiler-noinvariant

> A compiler tool for building GraphQL-driven applications.

Latest version **10.1.2** (published 2020-12-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install relay-compiler-noinvariant
pnpm add relay-compiler-noinvariant
yarn add relay-compiler-noinvariant
bun add relay-compiler-noinvariant
```

Provides the command `relay-compiler-noinvariant`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 10.1.2 |
| Published | 2020-12-29 |
| First published | 2020-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 16 |
| Unpacked size | 2.3 MB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | tthordarson |
| Keywords | graphql, relay |

## Links

- npm: https://www.npmjs.com/package/relay-compiler-noinvariant
- Repository: https://github.com/tthordarson/relay
- Issues: https://github.com/tthordarson/relay/issues
- npm.io page: https://npm.io/package/relay-compiler-noinvariant

## Dependencies (16)

- [fbjs](https://npm.io/package/fbjs.md) ^3.0.0
- [glob](https://npm.io/package/glob.md) ^7.1.1
- [chalk](https://npm.io/package/chalk.md) ^4.0.0
- [yargs](https://npm.io/package/yargs.md) ^15.3.1
- [immutable](https://npm.io/package/immutable.md) ~3.7.6
- [nullthrows](https://npm.io/package/nullthrows.md) ^1.1.1
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.0.0
- [fb-watchman](https://npm.io/package/fb-watchman.md) ^2.0.0
- [@babel/types](https://npm.io/package/@babel/types.md) ^7.0.0
- [signedsource](https://npm.io/package/signedsource.md) ^1.0.0
- [@babel/parser](https://npm.io/package/@babel/parser.md) ^7.0.0
- [relay-runtime](https://npm.io/package/relay-runtime.md) 10.1.2
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.0.0
- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.0.0
- [@babel/generator](https://npm.io/package/@babel/generator.md) ^7.5.0
- [babel-preset-fbjs](https://npm.io/package/babel-preset-fbjs.md) ^3.3.0

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 10.1.2 (latest) — 2020-12-29

## README

# IMPORTANT

This fork is for a custom build of ```relay-compiler``` which I created out of my own need when compiling GraphQL queries which contain nested arguments as they result in errors while otherwise being perfectly valid. I discovered that it's safe to remove the invariant calls and by reading Github discussions from Facebook it's clear to me that they have no intention of changing their implementation (https://github.com/facebook/relay/pull/1708). As I wanted to be able to write GraphQL queries using nested arguments I ended up creating a custom build of ```relay-compiler```.

# [Relay](https://relay.dev) &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/facebook/relay/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/react-relay.svg??style=flat)](https://www.npmjs.com/package/react-relay)

Relay is a JavaScript framework for building data-driven React applications.

* **Declarative:** Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.
* **Colocation:** Queries live next to the views that rely on them, so you can easily reason about your app. Relay aggregates queries into efficient network requests to fetch only what you need.
* **Mutations:** Relay lets you mutate data on the client and server using GraphQL mutations, and offers automatic data consistency, optimistic updates, and error handling.

[See how to use Relay in your own project](https://relay.dev/docs/en/introduction-to-relay).

## Example

The [relay-examples](https://github.com/relayjs/relay-examples) repository contains an implementation of [TodoMVC](http://todomvc.com/). To try it out:

```
git clone https://github.com/relayjs/relay-examples.git
cd relay-examples/todo
yarn
yarn build
yarn start
```

Then, just point your browser at `http://localhost:3000`.

## Contribute

We actively welcome pull requests, learn how to [contribute](./.github/CONTRIBUTING.md).

## Users

We have a [community-maintained list](https://relay.dev/en/users) of people and projects using Relay in production.

## License

Relay is [MIT licensed](./LICENSE).

---
_Source: https://npm.io/package/relay-compiler-noinvariant · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
