facebook/relay

Relax constraint of unique file names in Relay Modern

Open

#2093 opened on Sep 11, 2017

View on GitHub
 (5 comments) (22 reactions) (0 assignees)Rust (18,930 stars) (1,874 forks)batch import
help wanted

Description

Relay Classic / Compat require file names to match fragment names to ensure Relay Compat mechanisms work correctly. However in Relay Modern this doesn't necessarily need to be true.

There have been a few issues opened in the past about this issue, so it would be great to fix this with a pull request.

Note that fragment names should still continue to be unique across a compiled app.

Contributor guide