ryannealmes
06/18/2018, 10:47 PMryannealmes
06/18/2018, 10:47 PMDukuo
06/19/2018, 4:39 AM/management
earlier. It's genius! Nothing specific here, just wanted to give a shout-out to the prisma team for this fantastic piece of software that empowers a whole community to keep going forward with their products #graphql #prismasunrising
06/19/2018, 7:20 AMevent
like the one that gc function gives.Moritz
06/19/2018, 7:45 AMapollo-client
, the first time I subscribe, everthing works as expected. However, when I reload my frontend and subscribe again, the subscriptions doesn't get fired any more. Now, how does prisma handle resubscriptions, and what happens to the old subscriptions when my client app is killed and relaunches, i.e. the subscription is left hanging and another subscription is called from the same client? I Glad about any input and experiences! Thanks!Jan
06/19/2018, 10:15 AMDarryl
06/19/2018, 2:12 PMThis tutorial only applies to Prisma versions lower than 1.7 and will be updated soon.Does that mean the guide isn’t worth following with 1.9 or does it still work?
peter
06/19/2018, 2:38 PMprisma-binding
forwardTo
? doc search didn't find anythingiamclaytonray
06/19/2018, 3:04 PM/graphiql
not compatible with Prisma? I can execute queries and mutations fine (locally) but when I start adding filters, it just doesn’t work. When I hit the endpoint (`http://localhost:4466/service/stage`), where service and stage are my project’s service and stage, everything works perfectly but I have no idea where the data is going.prolink007
06/19/2018, 3:42 PMprolink007
06/19/2018, 3:43 PMdocker-compose down -v && docker-compose rm -v
to kill the servicesprolink007
06/19/2018, 3:43 PMdocker-compose up -d
and prisma deploy
to start them back upeelke
06/19/2018, 4:36 PMprisma@1.10.0
? I get this TypeError: Invalid Version: 1.1
when I run `prisma deploy`:
Environment saving global rc +0ms
StatusChecker setting status checker +865ms
prisma definition making cluster here +0ms
client Initializing cluster client +0ms
deploy checking verions +897ms
TypeError: Invalid Version: 1.1
at new SemVer (path/to/node_modules/semver/semver.js:305:11)
at Range.test (path/to/node_modules/semver/semver.js:1112:15)
at Function.satisfies (path/to/node_modules/semver/semver.js:1161:16)
at Deploy.<anonymous> (path/to/node_modules/prisma-cli-core/src/commands/deploy/index.ts:279:38)
at step (path/to/node_modules/prisma-cli-core/dist/commands/deploy/index.js:42:23)
at Object.next (path/to/node_modules/prisma-cli-core/dist/commands/deploy/index.js:23:53)
at fulfilled (path/to/node_modules/prisma-cli-core/dist/commands/deploy/index.js:14:58)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
TangoJuliett
06/19/2018, 5:19 PMError: Cannot find module '[full path to repo root omitted]/node_modules/graphql/index.js'
at webpackEmptyContext ([full path to repo root omitted]/packages/client-api/.webpack/service/src/webpack:[full path to repo root omitted]/node_modules/graphql-binding/dist sync:2:1)
TangoJuliett
06/19/2018, 5:21 PMTangoJuliett
06/19/2018, 5:23 PMnoahdavis
06/19/2018, 5:31 PMsteveb
06/19/2018, 6:03 PMkgoggin
06/19/2018, 7:07 PMnotrab
06/19/2018, 7:14 PMlisting: forwardTo('db')
to my resolver. I get the following mesage:
import { GraphQLServer } from 'graphql-yoga'
import { forwardTo} from 'prisma-binding'
import { Prisma } from './generated/prisma'
Argument of type '{ typeDefs: string; resolvers: { Query: { listing: (parent: any, args: any, context: any, info: G...' is not assignable to parameter of type 'Props'.
Types of property 'resolvers' are incompatible.
Type '{ Query: { listing: (parent: any, args: any, context: any, info: GraphQLResolveInfo) => any; }; M...' is not assignable to type 'IResolvers'.
Property 'Query' is incompatible with index signature.
Type '{ listing: (parent: any, args: any, context: any, info: GraphQLResolveInfo) => any; }' is not assignable to type '(() => any) | IResolverObject | GraphQLScalarType'.
Type '{ listing: (parent: any, args: any, context: any, info: GraphQLResolveInfo) => any; }' is not assignable to type 'GraphQLScalarType'.
Property 'name' is missing in type '{ listing: (parent: any, args: any, context: any, info: GraphQLResolveInfo) => any; }'.
notrab
06/19/2018, 8:30 PMwesbos
06/19/2018, 8:31 PMwesbos
06/19/2018, 8:31 PMnotrab
06/19/2018, 8:35 PMnotrab
06/19/2018, 8:35 PMMoritz
06/19/2018, 9:03 PMprisma deploy
▸ Invalid Version: 1.1
KyleG
06/19/2018, 9:07 PMcreatedAt
and updatedAt
fields in a Prisma schema?
Like. I don't YET need it for my project, and I was thinking to myself "wow, if I do need this it's going to be a real embarrassment if I can't get information as simple as the updated and created at times for a row!"
(nervous chuckling to self)eelke
06/19/2018, 10:02 PMtype Foo {
foo: String
privateBar: String
}
`src/schema.graphql`:
type Foo {
foo: String
}
nick
06/20/2018, 1:30 AMfabien0102
06/20/2018, 7:04 AM$ prisma deploy
! Invalid Version: 1.1
Any idea?