-
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
Filed names cant end with number? #1330
Comments
Tgat is super weird. Relay treats field names as opaque - it doesn't substring them or treat numbers in the field name specially (not on purpose, at least). Are you sure there's nothing else different, and that you've updated the schema appropriately with the right field names? Just checking to rule out obvious things. |
I definitely rebuild schema. I get all sorts of errors if I forget. I'm not sure but I tried my best to eliminate all listed issues. |
Anyone mind doing |
Here is an example of what I see in debugger |
Relay Modern is now out so I am closing these old issues that pertain to the legacy core, because nobody is actively working on that anymore. Please file any new issues relevant to the new core separately. Thanks! |
I will sound stupid but may this be a bug?
If name of the field ends(contains?) with a number than optimistic updates will not work.
Here is the stripped down repo to reproduce:
https://github.com/yangit/relayNumberBug
There are 2 branches which are different by one field name containing one extra symbol!
Here is the link to a diff
By looking at it could you guess why such a small change could break optimistic updates?
I have no errors in console in any case
I rebuild schema
I refresh my browser using hard refresh
I replace
thisIsUniqueName
using global project searchI knock my head against the wall
Any ideas?
The text was updated successfully, but these errors were encountered: