Checking

Checking
11 Replies
martmull
martmull7mo ago
thanks
martmull
martmull7mo ago
@adityapimpalkar I have created this issue to track invetigation, can you assign of it? https://github.com/twentyhq/twenty/issues/5645 Cheers
GitHub
yarn nx run twenty-chrome-extension:"graphql:generate" not working ...
Error Error 0: Unknown type "CompanyCreateInput". at /Users/charles/dev/twenty/twenty/packages/twenty-chrome-extension/src/graphql/company/mutations.ts:2:37 Error 1: Cannot query field &q...
adityapimpalkar
adityapimpalkarOP7mo ago
We are seeing those errors because those queries require authentication I think its best if we remove it from project.json and move it to package.json the graphql-codegen is very rarely used even for the chrome extension @martmull is it included in the CI build?
martmull
martmull7mo ago
Don't know, the issue occured locally
adityapimpalkar
adityapimpalkarOP7mo ago
Were you only running the yarn nx run twenty-chrome-extension:"graphql:generate" individually or something else?
charles
charles7mo ago
Side note: the new syntax to run a command on any package should be: npx nx run package-name:command (yarn nx run works in most case but sometimes doesn't)
martmull
martmull7mo ago
@adityapimpalkar @charles I think I still have the issue on main, do I miss something?
No description
charles
charles7mo ago
you'll need to set a valid token in the code-gen the chrome extension is making some assumptions on the worksapce schema that is not exposed if you are not connected (on twenty-front we rely on useFindManyRecords and co so we don't have to do that) (but it's too expansive at the moment to do the same in the extension)
martmull
martmull7mo ago
ok
Want results from more Discord servers?
Add your server