-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relax constraint of unique file names in Relay Modern #2093
Comments
can |
For anyone interested in sending a PR, we are supportive of adding a config option (via relay-config) that allows an application to disable the document name validation. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still an issue currently, especially with frameworks like NextJS where module names for pages are used to determine their routing. This results in unhelpful name restrictions like:
|
And kebab-case naming convention #3081 |
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.
The text was updated successfully, but these errors were encountered: