This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var convertStringToBoolean = function(yourVariable){ | |
return yourVariable ? yourVariable === "Y" ? true : false : null; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { graphql } from 'react-apollo'; | |
import gql from 'graphql-tag'; | |
import Inbox from './Inbox'; | |
import TaskList from '../components/TaskList'; | |
const withData = graphql( | |
gql` | |
query InboxQuery { | |
me { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const users = [ | |
{ | |
firstName: 'Sarah', | |
lastName: 'Zulu', | |
}, | |
{ | |
firstName: 'Josh', | |
lastName: 'Able', | |
}, | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const users = [ | |
{ | |
firstName: 'Sarah', | |
lastName: 'Zulu', | |
email: 'sarah.zulu@test.com', | |
}, | |
{ | |
firstName: 'Josh', | |
lastName: 'Able', | |
email: 'sarah.zulu@test.com', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/prisma/prisma-cloud-feedback/issues/202#issuecomment-414095090 | |
I looked up prisma's latest docker hub tags at https://hub.docker.com/r/prismagraphql/prisma/tags/ and picked 1.14-heroku (not sure what the difference is in *-heroku tags, but it sounded reasonable. Could someone from Prisma explain the difference?) | |
I read Heroku's docs on docker deployment and followed this section: https://devcenter.heroku.com/articles/container-registry-and-runtime#pushing-an-existing-image. | |
Here's the exact steps I ran: | |
Pulled the docker image w/ the tag mentioned above: docker pull prismagraphql/prisma:1.34-heroku | |
Looked up the image id from the image I just pulled using: docker images | |
Using that image id, I tagged it to my Heroku repo: docker tag 6ff588b05d59 registry.heroku.com/${HEROKU_APP_NAME}/web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find a document that has an array value of "artist" in the keyAudience array | |
where ARRAY_CONTAINS(c.keyAudiences, "artist") |
OlderNewer