Andrei Bacescu
05/16/2019, 6:22 AMOlaf
05/16/2019, 6:54 AMtaikn
05/16/2019, 7:55 AMakka.stream.scaladsl.TcpIdleTimeoutException: TCP idle-timeout encountered on connection to [<http://metrics-eu1.prisma.io:443|metrics-eu1.prisma.io:443>], no bytes passed in the last 30 seconds
Has this happened to anyone already?Nelson Pecora
05/16/2019, 2:13 PMNelson Pecora
05/16/2019, 2:15 PMtitle
, author
, etc -> Tag or RelatedArticle or similar relations from ArticleVersionTaylor
05/17/2019, 2:18 PMJonathan Demirgian
05/17/2019, 7:18 PMCraig
05/17/2019, 7:43 PMrdc
05/18/2019, 8:35 AMrdc
05/18/2019, 9:27 AMexport const UPDATE_CAMPAIGN = gql`
mutation updateCampaign(
$campaignName: String
$startDate: String
$duration: Int
$approvedDate: String
$CAMPAIGNSTATUS: CAMPAIGNSTATUS
$ARTWORKSTATUS: ARTWORKSTATUS
$contentStatusDeclineCause: String #for our reference
$artworkComment: String
$artworkSVGFiles:{
$create:[
{
$bucket: String!
$region: String!
$key: String!
},
{
$bucket: String!
$region: String!
$key: String!
}
]
}
$artworkSVGFiles is not working!!! 😭
Any suggestions pls?
ThanksGaurav
05/18/2019, 9:53 AMemailId: string! @unique
to email: string! @unique @rename(oldName: "emailId")
.
Now playground and admin don't give me email
field to query with, but only emailId
. And, if I use emailId
field, I get this error in AWS logs:
{"key":"error/unhandled","requestId":"local:cjvtbwikjdlacjoicq6mx","clientId":"my-prisma@dev","payload":{"exception":"java.sql.SQLSyntaxErrorException: (conn=17632) Unknown column 'Alias.emailId' in 'field list'","query":"query GetUsers
All the trouble remains even after I have reset the data and deployed again (without rename
directive this time) (I assume since it's not resetting schema).
How do I fix this? Thanks! 🙂Slackbot
05/18/2019, 11:06 AMA A
05/19/2019, 7:11 AMscopes
field to my user object, so that I can have permission scopes on fields and mutators like "read:users" or "write:media" or things like that using custom directives (@hasScope(scope: ["read:users"])
.
I've tried to add a scopes: [String]!
field to my datamodel.prisma
field, and when I try to prisma deploy
it gets stuck with an error that
✖️ Valid values for the strategy argument of @scalarList
are: RELATION.
which I assume means that I can't have lists of scalars like `String`s in my Prisma schema for some reason. Does anybody know of a good way to work around this limitation?Darryl
05/19/2019, 1:12 PMKianoosh
05/19/2019, 5:13 PMBjoern
05/19/2019, 6:21 PMquery GET_MESSAGES($community: ID, $isGeneral: Boolean!) {
messages
(where: {community: {id: $community}}) @skip(if: $isGeneral)
{
text
id
}
}
Bjoern
05/19/2019, 6:22 PMquery GET_MESSAGES($community: ID, $isGeneral: Boolean!) {
messages
(where: {community: {id: $community}}) @skip(if: $isGeneral)
{
text
id
}
unfiltered: messages @include(if: $isGeneral) {
id
text
}
}
Morten Bo Rønsholdt
05/20/2019, 11:37 AMquery Test {
business(where: { id: "93f13" }) {
publicationBatches {
publications(first: 1) {
id
localeCode
paged {
id
pages {
pageNumber
image {
url(width: 700)
}
}
}
}
}
}
}
what essentially happens is:
1) fetch business
2) fetch publication batches (there's 3)
3) fetch publications for publication batches (there's 1 for each)
4) fetch pages for each publication (there's around 100 for each)
5) fetch image for each page
that's at least 600 objects that need to be fetched and it takes 5-10s with the above query. I was under the impression that Prisma had an efficient dataloader but I can't launch with these response times. what can I do to improve loading times?Luke Taylor
05/20/2019, 1:16 PMLuke Taylor
05/20/2019, 1:16 PMlewisedc
05/20/2019, 1:34 PMquery {
products(where: {name_contains: "logo"}) {
name
}
}
matches 'Logo Distressed Hoodie' on my dev server but not on my prod serverDavid Allen
05/20/2019, 5:20 PM--header Authorization="Bearer: $TOKEN"
but that appears not to be respected and passed to the server (at least not for get-schema) and other operations like ping complain of it as an unrecognized option. So I can't quite tell if some operations just aren't checking for the presence of ignored / foreign flags, or if it's not functioning correcltycaptaindaylight
05/20/2019, 5:36 PMprisma deploy
but clearly is not secure. I want to make it only accessible to my api server internally, but then I don’t know how to run the deploy command. How have other solved this?Rodrigo Gross López
05/20/2019, 6:00 PMRodrigo Gross López
05/20/2019, 6:02 PMUser
must be marked as the id field with the @id
directive.' , and so for all models, Last time I checked this project deploying worked just fine with current setup. Hope someone know something about itRodrigo Gross López
05/20/2019, 6:03 PMRodrigo Gross López
05/20/2019, 6:09 PMdan
05/20/2019, 8:02 PMdan
05/20/2019, 8:02 PMNo server chosen by ReadPreferenceServerSelector
dan
05/21/2019, 12:46 AM