Checking

Checking
11 Replies
martmull
martmull4mo ago
thanks
martmull
martmull4mo 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
adityapimpalkar4mo 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
martmull4mo ago
Don't know, the issue occured locally
adityapimpalkar
adityapimpalkar4mo ago
Were you only running the yarn nx run twenty-chrome-extension:"graphql:generate" individually or something else?
charles
charles4mo 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
martmull4mo ago
@adityapimpalkar @charles I think I still have the issue on main, do I miss something?
No description
charles
charles4mo 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
martmull4mo ago
ok
Want results from more Discord servers?
Add your server