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

Fix bug on relation on custom object #3336

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Fix bug on relation on custom object #3336

merged 1 commit into from
Jan 9, 2024

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Jan 9, 2024

This PR fixes a bug on relation creation that is targeting a standard object.
For some reason, if the "to" side of the relation the relation fields were not prefixed by "_" as needed for custom objects.

Copy link

github-actions bot commented Jan 9, 2024

TODOs/FIXMEs:

  • // TODO: this logic is called to create relation through metadata graphql endpoint (so only for custom field relations): packages/twenty-server/src/metadata/relation-metadata/relation-metadata.service.ts

Generated by 🚫 dangerJS against 2530c54

@charlesBochet charlesBochet merged commit 69b558e into main Jan 9, 2024
10 of 13 checks passed
@charlesBochet charlesBochet deleted the fix-bug branch January 9, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants