I try to map a key string with arrays of Objects.
I can create a simple Object but i want to add easily an object in these arrays. The Map Object is perfect to do this.
Problem: I dont know how to define the Type Map for GraphQL :'(
@ObjectType()
export class Inventaire
@Field()
_id: string;
@Field()
stocks: Map<string, Article[]>;
}