pereira
pereira
TTwenty
Created by pereira on 5/24/2024 in #❓︱help
Create and fetch new database entities
I've been looking at the existing tests and Im unsure of what to add (or if i should add)
23 replies
TTwenty
Created by pereira on 5/24/2024 in #❓︱help
Create and fetch new database entities
No description
23 replies
TTwenty
Created by pereira on 5/24/2024 in #❓︱help
Create and fetch new database entities
Lot's of progress was done. I am wondering if I should write tests. What I've done was create new entities, fetch them, use the value on the frontend and display a chip
23 replies
TTwenty
Created by pereira on 5/24/2024 in #❓︱help
Create and fetch new database entities
I did that, it worked perfectly. Thanks!
23 replies
TTwenty
Created by pereira on 5/24/2024 in #❓︱help
Create and fetch new database entities
No description
23 replies
TTwenty
Created by pereira on 5/24/2024 in #❓︱help
Create and fetch new database entities
@charles it worked :) ! Thanks for the tips, i am now able to fetch everything I need (everyone field from messageThread, and the messageThreadMembers) from the backend with just a few lines added
23 replies
TTwenty
Created by pereira on 5/24/2024 in #❓︱help
Create and fetch new database entities
thanks so much @charles! I still have some questions: 1- I already created the relations between MessageThreadMembers (a new table that we created, it doesnt exist yet) and MessageThread and WorkspaceMember (two FK). To apply the changes, I've been using npx nx database:reset twenty-server. Do I still need to run npx nx run twenty-server:command workspace:sync-metadata -w {workspaceId} -f if I'm resetting the database? 2- Regarding the graphql files, I am not sure if I should be manually editing them. Searching through old discord messages, I am now aware that they seem to be auto generated. However, I am not sure of the commands to generate them, and which ones I am supposed to generate, as there are 3 different graphql files (one in twenty-chrome-extension and two in twenty front (graphql.tsand graphql.tsx. I will keep working on this the best I can, If I get really stuck (probably on the step to visibility of the thread itself), I'll open the PR like you suggested. Thanks once again :)
23 replies
TTwenty
Created by pereira on 5/21/2024 in #❓︱help
How to run --verbose on database reset
thanks !
7 replies
TTwenty
Created by pereira on 5/21/2024 in #❓︱help
How to run --verbose on database reset
yeah I did that and eventually figured it out
7 replies