morph dataloader specific (#13259)

In the metadata GraphQL api, we need the resolveField for the
morphRelations. This PR implements this topic.


Fixes https://github.com/twentyhq/core-team-issues/issues/1234

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Guillim
2025-07-17 23:06:45 +02:00
committed by GitHub
parent 5b13f3096a
commit 6e5487ed76
9 changed files with 250 additions and 5 deletions

View File

@ -722,6 +722,7 @@ export type Field = {
isSystem?: Maybe<Scalars['Boolean']>;
isUnique?: Maybe<Scalars['Boolean']>;
label: Scalars['String'];
morphRelations?: Maybe<Array<Relation>>;
name: Scalars['String'];
object?: Maybe<Object>;
options?: Maybe<Scalars['JSON']>;