Skip to content
New issue

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

feat: twenty orm sync #5266

Merged
merged 10 commits into from
May 15, 2024
Merged

feat: twenty orm sync #5266

merged 10 commits into from
May 15, 2024

Conversation

magrinj
Copy link
Member

@magrinj magrinj commented May 3, 2024

This PR is updating all object metadata entities with the new decorators, and deleting the old ones.
This way we can use the new TwentyORM with all the standard objects.

@magrinj magrinj changed the base branch from main to feat/extend-twenty-orm May 3, 2024 10:30
Base automatically changed from feat/extend-twenty-orm to main May 6, 2024 12:12
Copy link

github-actions bot commented May 6, 2024

TODOs/FIXMEs:

  • // TODO: Remove targetTableName when we remove the old metadata: packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/factories/standard-object.factory.ts

Generated by 🚫 dangerJS against 6fe43fb

@magrinj magrinj force-pushed the feat/twenty-orm-sync branch from 98c3b71 to 9db2e03 Compare May 13, 2024 14:24
@magrinj magrinj marked this pull request as ready for review May 13, 2024 14:35
@magrinj magrinj requested a review from Weiko May 13, 2024 14:35
Copy link
Member

@Weiko Weiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @magrinj! LGTM
I think we should go even further and rename CompanyObjectMetadata to CompanyWorkspaceEntity, this seems weird that it extends a BaseWorkspaceEntity now. This can be done in another PR ofc!
cc @charlesBochet for the naming

@Weiko Weiko merged commit f0383e3 into main May 15, 2024
5 checks passed
@Weiko Weiko deleted the feat/twenty-orm-sync branch May 15, 2024 14:58
arnavsaxena17 pushed a commit to arnavsaxena17/twenty that referenced this pull request Oct 6, 2024
This PR is updating all object metadata entities with the new
decorators, and deleting the old ones.
This way we can use the new TwentyORM with all the standard objects.

---------

Co-authored-by: Weiko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants