facebook/relay

Relax constraint of unique file names in Relay Modern

Aperta

#2093 aperta il 11 set 2017

 (5 commenti) (22 reazioni) (0 assegnatari)Rust (1874 fork)batch import
help wanted

Metriche repository

Star
 (18.930 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor