Gorodov Maksim
08/18/2018, 11:42 AMJim
08/18/2018, 12:20 PMJim
08/18/2018, 12:20 PMJim
08/18/2018, 12:21 PMMoritz
08/18/2018, 3:12 PMrcy
08/18/2018, 9:25 PMPerson
and want people
as a query, but get persons
.Nick
08/18/2018, 10:12 PMWatchman: Watchman was not found in PATH. See <https://facebook.github.io/watchman/docs/install.html> for installation instructions
Anyone that can help me out here, installing Watchman on windows is a bit tricky and facebook documentation is not the easiest to grasp.Vinnie
08/19/2018, 2:45 PMVinnie
08/19/2018, 2:45 PMVinnie
08/19/2018, 2:45 PMzaksingh
08/19/2018, 7:10 PMhw
08/20/2018, 2:08 AMGorodov Maksim
08/20/2018, 3:04 AMkratam
08/20/2018, 7:39 AMschema.d.ts
from my app's (and not prisma backend's) schema.graphql
file automatically? I can't find a solution which works and understands the # import
sintax in the graphql file.Arnab
08/20/2018, 8:51 AMseed.graphql
file for the following datastructure:
type Speaker {
id: ID! @unique
name: String!
talks: [Talk!]!
workplace_url: String
}
type Talk {
id: ID! @unique
title: String!
speaker: Speaker!
session_duration: Int
}
How would I for instance insert multiple Talk
objects and connect them to the same speaker?val
08/20/2018, 10:55 AMqsys
08/20/2018, 12:09 PMglobal: ✖ For input string: "null"
thing exactly?qsys
08/20/2018, 12:11 PMVinnie
08/20/2018, 12:35 PMLuke
08/20/2018, 12:52 PMcory
08/20/2018, 1:02 PM!@#$%^
. Doesn’t warn about not allowing symbols.val
08/20/2018, 1:36 PMMikePuglisi
08/20/2018, 2:46 PMtype Amenities {
airConditioning: Boolean!
babyBath: Boolean!
babyMonitor: Boolean!
babysitterRecommendations: Boolean!
...
}
I'll be using a relational database as my data source, and having a "hard-coded" list like the above seems limiting to me.
For example, an administrator wouldn't be able to add a new amenity. I would think something like the following would be more desirable, as it would allow an administrator to easily add new "amenities"
type Amenity {
id: ID!
name: String
}
Would this be a bad design pattern in the world of GraphQL (which I'm new to)?
Related:
https://github.com/prisma/graphql-server-example/blob/master/prisma/datamodel.graphqlsandesh vakale
08/20/2018, 3:33 PMFuturekam
08/20/2018, 4:17 PM"dependencies": {
"express-session": "1.15.6",
"graphql-yoga": "1.16.1",
"jsonwebtoken": "8.3.0",
"prisma-binding": "1.5.19"
}
jason
08/20/2018, 4:30 PMjason
08/20/2018, 4:31 PMcory
08/20/2018, 7:34 PMcory
08/20/2018, 7:44 PMHeroku account has already been added. Please select it in the heroku account selection.
cory
08/20/2018, 7:44 PMheroku account selection
?