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
Contributor

@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 added the PR: wip label May 3, 2024
@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

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
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.

None yet

2 participants