martin
03/02/2018, 2:08 AMmartin
03/02/2018, 2:08 AMsajmil
03/02/2018, 2:51 AMdohomi
03/02/2018, 2:52 AMrick
03/02/2018, 9:10 AMERROR: Authentication token is invalid: Token can't be decoded: The token is expired since 2018-03-02T08:58:29Z
rick
03/02/2018, 9:10 AMrick
03/02/2018, 9:31 AMERROR: You can not deploy to a service stage while there is a deployment in progress or a pending deployment scheduled already. Please try again after the deployment finished.
nikIdea
03/02/2018, 9:49 AMnikIdea
03/02/2018, 9:52 AMMoritz
03/02/2018, 12:55 PMexport default createFragmentContainer(LinkList, graphql`
fragment LinkList_viewer on Viewer {
allLinks(last: 100, orderBy: createdAt_DESC) @connection(key: "LinkList_allLinks", filters: []) {
edges {
node {
...Link_link
}
}
}
}
`)
beedesignllc
03/02/2018, 2:58 PMRamsay Lanier
03/02/2018, 8:12 PMmax
03/02/2018, 10:18 PMprisma
here: https://www.graph.cool/forum/t/prismas-killer-features/2711martin
03/02/2018, 10:21 PMniwat
03/02/2018, 10:57 PMveksen
03/03/2018, 1:28 AM// mutation
createForm(name: String!, description: String!, fields: [Field!]!): Form!
// schema
type Form {
id: ID! @unique
author: User!
name: String!
description: String!
createdAt: DateTime!
updatedAt: DateTime!
fields: [Field!]!
}
type Field {
id: ID! @unique
containingForm: Form!
name: String!
value: String!
}
giving an error:
The type of Mutation.createForm(fields:) must be Input Type but got: [Field!]!.
Braden
03/03/2018, 1:47 AMsajmil
03/03/2018, 2:02 AMmoosecouture
03/03/2018, 2:41 AMrisjai
03/03/2018, 7:20 AMrisjai
03/03/2018, 7:21 AM[Network error]: Error: GraphQL Error (Code: 200)
Error: GraphQL Error (Code: 200)
at BatchedGraphQLClient.<anonymous>
I even tried prisma deploy, still no luck.risjai
03/03/2018, 7:24 AMpasa
03/03/2018, 7:50 AMTman
03/03/2018, 8:59 AMrisjai
03/03/2018, 12:37 PMjamiehalvorson
03/03/2018, 1:19 PMprisma deploy
to prisma cloud I get this:
Deploying service `XXX` to stage `dev` on cluster `XXX` 1.3s
Changes:
Class (Type)
+ Created field `lowerTitle` of type `String!`
User (Type)
~ Updated field `avatar`
FileToUser (Relation)
+ Created relation between File and User
Applying changes (12/3) ⡿
It just sits there spinning until I kill it, never ends.
However, when I view my deployment history on app.prisma.sh I see that it looks like it worked:
Jamie added 1 field, updated 1 field, added 1 relation.
4 minutes ago
But when I view the Data Browser I can’t see my new fields. Local stuff all works fine, just deployments to prisma cloud aren’t working for me.
Any help/pointers are greatly appreciated. Thanks!risjai
03/03/2018, 2:36 PMnotrab
03/03/2018, 3:03 PMfeatures {
value: id
label: name
}
notrab
03/03/2018, 3:03 PMid
to value
notrab
03/03/2018, 3:06 PM.map(feat => ({value: feat.id, label: feat.name}))