We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
relay/generated-flow-types
useMutation
Code setup as follows:
... import type { DashboardPageUserViewedDashboardMutation } from "./__generated__/DashboardPageUserViewedDashboardMutation.graphql" ... export default function DashboardPage() { ... const [userViewedDashboardMutation] = useMutation<DashboardPageUserViewedDashboardMutation>(graphql` mutation DashboardPageUserViewedDashboardMutation { userViewedDashboard { viewedDashboard } } `) ... } ...
Setting "relay/generated-flow-types": "error"
"relay/generated-flow-types": "error"
Gives the following issue:
I see a test case for the failure condition here https://github.com/relayjs/eslint-plugin-relay/blob/main/test/generated-typescript-types.js#L538-L552 but no corresponding passing condition test.
From what I can see in the source code here https://github.com/relayjs/eslint-plugin-relay/blob/main/src/rule-generated-flow-types.js#L567-L583 what I have should not be an issue.
Looks like this was added by @tyao1 via 3d1ebcd so maybe they can advise.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code setup as follows:
Setting
"relay/generated-flow-types": "error"
Gives the following issue:
I see a test case for the failure condition here https://github.com/relayjs/eslint-plugin-relay/blob/main/test/generated-typescript-types.js#L538-L552 but no corresponding passing condition test.
From what I can see in the source code here https://github.com/relayjs/eslint-plugin-relay/blob/main/src/rule-generated-flow-types.js#L567-L583 what I have should not be an issue.
Looks like this was added by @tyao1 via 3d1ebcd so maybe they can advise.
The text was updated successfully, but these errors were encountered: