facebook / facebook/relay

Relay compiler crashes if you console.log in the relay.config

Open
#4,055 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

It seems as simple as the title suggests. If you try and `console.*` anything in a `relay.config.js` the compiler crashes, with
```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("expected value", line: 1, column: 1)',
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.