Stephen Jensen
03/14/2019, 7:43 PMJidé
03/14/2019, 9:29 PM@id
directive with datamodel 1.1 ? specifically the strategy: NONE behaviour ? I updated my docker instance to use 1.3 alpha and cli, but the generated graphql api still does not show an id field in the input argumentsJidé
03/14/2019, 10:18 PMpedro
03/14/2019, 10:35 PM"prisma": "^1.28.3"
installed. As I assume it should have the /_admin
dashboard but it loads the Playground for meKenneth Tan
03/15/2019, 12:42 AMcfree
03/15/2019, 1:00 AMconst offices = [
'PRESIDENT': 'President',
'VICE_PRESIDENT': 'Vice President',
'SECRETARY': 'Secretary',
'TREASURER': 'Treasurer',
];
return ctx.db.query.users(
{
where: {
AND: [
// Works fine
{ accountStatus: 'ACTIVE' },
// Works fine
{ accountType_in: args.accountTypes },
// Returns nothing
{ office_not_in: Object.keys(offices) },
],
},
},
info,
);
Schema:
enum Office {
PRESIDENT
VICE_PRESIDENT
SECRETARY
TREASURER
}
type User {
...
office: Office
}
cfree
03/15/2019, 1:18 AMNOT
filter being used?James
03/15/2019, 4:05 AMHadi
03/15/2019, 4:24 AMervindraganovic
03/15/2019, 8:26 AMbtotharye
03/15/2019, 1:00 PMbtotharye
03/15/2019, 1:05 PMquery SEARCH_SNAKES_QUERY($searchTerm: String!) {
snakes(
where: {
OR: [
{ name_contains: $searchTerm }
{ description_contains: $searchTerm }
]
}
) {
id
image
name
}
}
HoYeon
03/15/2019, 1:48 PMnxxc
03/15/2019, 2:01 PMHoYeon
03/15/2019, 3:51 PMlawjolla
03/15/2019, 5:34 PMRinat
03/15/2019, 5:36 PMhuv1k
03/15/2019, 5:40 PMprisma-admin
release this version was focused on fixing all bugs discovered during the first 2 days. Sorry for all the troubles what happen during that time. We discovered that people are missing search features a lot. This feature will be implemented next week. Soon there will be data-browser back in the console. This version improved little bit deleting records, we are still going to implement batching deletes soon. We are looking for more of your feedback https://github.com/prisma/prisma-admin-feedback/issuesjblevins
03/15/2019, 6:26 PMAndy Dietler
03/15/2019, 7:27 PMHmm
03/15/2019, 9:38 PMconst user = await ctx.db.query.user({ where: { email } });
But the examples I have seen create it as a mutation. Is it because you can call it onSubmit of a form?Luca
03/15/2019, 9:46 PMHmm
03/15/2019, 9:52 PMAndy Dietler
03/15/2019, 9:57 PMjblevins
03/16/2019, 12:43 AMyuritoledo
03/16/2019, 12:56 AMnow.sh
?dnbkr
03/16/2019, 3:52 AMimmanuelrosal
03/16/2019, 4:26 AMjblevins
03/16/2019, 5:58 AMkuma-guy
03/16/2019, 8:16 AM