Hello, qq, if I'm using an auto-generator (Pal.js)...
# prisma-client
h
Hello, qq, if I'm using an auto-generator (Pal.js) for my GraphQL schema and resolvers from Prisma, is there a way to specify a field which is not coming from the database but another source? like a placeholder field so I can fill it later when I implement/modify my resolver?
r
@Ahmed will be able to assist you here 🙂
h
Thanks, for example if I want to return:
Copy code
obj {
  id
  name
  data
}
id
,
name
come from the database in Prisma and
data
comes from another HTTP endpoint.
Hey @Ahmed, for some reason Pal.js is not generating Input types for models with fields that have a enum type field. No matter the generator I use, the Input types are not created.