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

Use LinksMetadata right type for Links fields #6380

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

ijreilly
Copy link
Collaborator

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Updated the type of several fields from LinkMetadata to LinksMetadata to handle multiple links, ensuring consistency and correctness in the data model.

  • calendar-event.workspace-entity.ts: Updated conferenceLink field type to LinksMetadata.
  • company.workspace-entity.ts: Updated linkedinLink and xLink fields to LinksMetadata.
  • person.workspace-entity.ts: Updated linkedinLink and xLink fields to LinksMetadata.

These changes align the fields with the updated metadata type definitions, preventing potential runtime errors related to type mismatches.

3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@ijreilly ijreilly merged commit 001e698 into main Jul 24, 2024
6 checks passed
@ijreilly ijreilly deleted the update-type-links-metadata branch July 24, 2024 08:48
lucasbordeau pushed a commit to AdityaPimpalkar/twenty that referenced this pull request Jul 24, 2024
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.

2 participants