Bug Description
Created a custom object "Investor Lead" with a relation field "fund" (→ Companies). The GraphQL create/update mutations DO NOT expose the relation field for writes. The investorPipelineId field exists on the Company update mutation (reverse relation) and calls succeed, but reading back the fund field on the Investor Lead returns null.
To Reproduce
- Create custom object "Investor Lead" with a relation field to Companies
- Try to create or update an Investor Lead with fundId - field doesn't exist on mutation input
- Try updateCompany(investorPipelineId: lead.id) - succeeds
- Query investorLead.fund - returns null
Expected
Relation fields on custom objects should be writable via create/update mutations, just like personId/person work on the same object.
Environment
- Twenty version: 2.25.x (Docker, latest)
- API: GraphQL + MCP
Impact
Cannot programmatically link custom object records to related objects. Makes API-driven workflows impossible for custom objects.
Bug Description
Created a custom object "Investor Lead" with a relation field "fund" (→ Companies). The GraphQL create/update mutations DO NOT expose the relation field for writes. The investorPipelineId field exists on the Company update mutation (reverse relation) and calls succeed, but reading back the fund field on the Investor Lead returns null.
To Reproduce
Expected
Relation fields on custom objects should be writable via create/update mutations, just like personId/person work on the same object.
Environment
Impact
Cannot programmatically link custom object records to related objects. Makes API-driven workflows impossible for custom objects.