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
Cannot run graphql-codegen with fabrixForm directive
fabrixForm
const App = () => { return ( <FabrixComponent containerClassName={containerClassName} query={graphql(` mutation createTodo($input: TodoInput!) { addTodo(input: $input) @fabrixForm( input: [ { field: "id", config: { hidden: true } } { field: "hasDone", config: { hidden: true } } { field: "name" config: { gridCol: 9 } constraint: { maxLength: 50 } } { field: "priority", config: { gridCol: 3 } } ] ) { id } } `)} /> ) }
graphql-codegen
npx graphql-codegen
npx graphql-codegen (node:64109) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) ✔ Parse Configuration ⚠ Generate outputs ❯ Generate to ./src/graphql/ ✔ Load GraphQL schemas ✔ Load GraphQL documents ✖ GraphQL Document Validation failed with 1 errors; Error 0: Expected value of type "TodoInput", found [{field: "id", config: {hidden: true}}, {field: "hasDone", config: {hidden: true}}, {field: "name", config: {gridCol: 9}, constraint: {maxLength: 50}}, {field: "priority", config: {gridCol: 3}}]. at /Users/izumisy/Devs/fabrix-framework/fabrix/examples/vite-todoapp/src/App.tsx:5:24
No error should be expected.
For fabrixView, no error is thrown on the contrary.
fabrixView
N/A
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Cannot run graphql-codegen with
fabrixForm
directiveSteps to reproduce
fabrixForm
directive in it.graphql-codegen
Expected behavior
No error should be expected.
For
fabrixView
, no error is thrown on the contrary.Environment
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: