Hello <@UAP2CSJQG> <@UESADRKMY> I have one questio...
# orm-help
j
Hello @Ahmed @Ryan I have one question regarding the pal.js with nexus and prisma
I have added this below line in my pal.js to excludeQuery and mutations for all the models
Copy code
excludeQueriesAndMutations: ['deleteMany', 'createMany'],
Now I need this query for new table called
Test
so I means I need to inform pal.js that for
Test
model ignore the excludeQueriesAndMutations options
So is there any way ?
@Ryan
r
I don’t have any idea about this unfortunately. Only @Ahmed could assist here.
j
Okay 👍 @Ahmed
a
Now it's no but i think i need to convert all this options to be a function give you the model name and return array of options
j
Okay
We have
excludeQueriesAndMutations
option so can't you add something like
ignoreExcludeQueriesAndMutations
:
Copy code
{
    [modelName: string]: QueriesAndMutations[];
  };
a
it can’t be like this