facebook/relay

Relax constraint of unique file names in Relay Modern

Open

#2.093 geöffnet am 11. Sept. 2017

Auf GitHub ansehen
 (5 Kommentare) (22 Reaktionen) (0 zugewiesene Personen)Rust (18.930 Stars) (1.874 Forks)batch import
help wanted

Beschreibung

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