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

@ -197,7 +197,6 @@ const UPDATE_ONE_FAVORITE_MUTATION = gql`
id
note {
__typename
body
bodyV2 {
blocknote
markdown
@ -393,7 +392,6 @@ const UPDATE_ONE_FAVORITE_MUTATION = gql`
task {
__typename
assigneeId
body
bodyV2 {
blocknote
markdown
@ -592,7 +590,6 @@ export const mocks = [
id
note {
__typename
body
bodyV2 {
blocknote
markdown
@ -788,7 +785,6 @@ export const mocks = [
task {
__typename
assigneeId
body
bodyV2 {
blocknote
markdown