-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
3889 activate settingsaccountsemailsinboxsettings #3962
3889 activate settingsaccountsemailsinboxsettings #3962
Conversation
…ithout personId and workspaceMemberId
...essaging/repositories/create-companies-and-contacts/create-companies-and-contacts.service.ts
Outdated
Show resolved
Hide resolved
...ages/twenty-server/src/workspace/messaging/services/utils/create-queries-from-message-ids.ts
Outdated
Show resolved
Hide resolved
packages/twenty-server/src/workspace/messaging/services/utils/get-domain-name-from-handle.ts
Outdated
Show resolved
Hide resolved
type: FieldMetadataType.BOOLEAN, | ||
label: 'Is Contact Auto Creation Enabled', | ||
description: 'Is Contact Auto Creation Enabled', | ||
icon: 'IconUserCircle', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can set a defaultValue here FYI (so you don't have to put it in the insert in google-gmail.service.ts
@Injectable() | ||
export class MessageService { | ||
constructor( | ||
private readonly workspaceDataSourceService: WorkspaceDataSourceService, | ||
private readonly messageChannelMessageAssociationService: MessageChannelMessageAssociationService, | ||
private readonly messageThreadService: MessageThreadService, | ||
private readonly messageParticipantService: MessageParticipantService, | ||
private readonly messageChannelService: MessageChannelService, | ||
private readonly createCompaniesAndContactsService: CreateCompaniesAndContactsService, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, can be done in another PR: I prefer to avoid injecting non-repository services inside repository service, you are including business logic here. You can create a logic service that will wrap everything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do that in another PR
Closes #3889