You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the capitalization mismatch, I'll get this error from the reason-relay compiler:
Watching for changes to re...
ERROR:
Parse error: Error: RelayFindGraphQLTags: Operation names in graphql tags must be prefixed with the module name and end in "Mutation", "Query", or "Subscription". Got `TempTest_WhateverThisIsQuery` in module `tempTest`. in "components/tempTest.re"
If I then change the operation name to make the reason-relay compiler happy, then bucklescript will give me this error:
We've found a bug for you!
/Users/s/src/egghead/egghead-static/src/components/tempTest.re 112:3-123:2
110 │
111 │ module WhateverThisIsQuery = [%relay.query
112 │ {|
113 │ query tempTest_WhateverThisIsQuery($blah: ID!) {
. │ ...
122 │ }
123 │ |}
124 │ ];
125 │
The module or file tempTest_WhateverThisIsQuery_graphql can't be found.
The text was updated successfully, but these errors were encountered:
Given I have a file
tempTest.re
(notice the lowercase prefix) with this operation:Because of the capitalization mismatch, I'll get this error from the reason-relay compiler:
If I then change the operation name to make the reason-relay compiler happy, then bucklescript will give me this error:
The text was updated successfully, but these errors were encountered: