Remove old body on note and tasks (#13290)

Fixes: https://github.com/twentyhq/twenty/issues/13110

I'm deprecating note.body and task.body to remove confusion between body
and bodyV2

What will be left but should be done later to avoid breaking changes:
- re-add a body field in the graphql API only that points to the same
bodyV2 field in SQL (need to be handled in fields and filter for note
and task)
- (wait some time)
- remove bodyV2 field
This commit is contained in:
Charles Bochet
2025-07-19 11:25:49 +02:00
committed by GitHub
parent 62202af1a9
commit fdc6705a75
23 changed files with 124 additions and 128 deletions

View File

@ -128,7 +128,6 @@ const mocks: MockedResponse[] = [
id
note {
__typename
body
bodyV2 {
blocknote
markdown
@ -571,7 +570,6 @@ const mocks: MockedResponse[] = [
task {
__typename
assigneeId
body
bodyV2 {
blocknote
markdown