summaryrefslogtreecommitdiffstats
path: root/sick-fits/frontend/notes.md
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-09-19 09:06:02 -0400
committerGitHub <noreply@github.com>2018-09-19 09:06:02 -0400
commite672a5c96a348c1c58ca1001bf0471c66454c2ae (patch)
treee6152494a37bf1a7e18074ba6ac9f69678820ebe /sick-fits/frontend/notes.md
parent37197c059947d62deaf17fa7a224805c4707be5c (diff)
Delete notes.md
Diffstat (limited to 'sick-fits/frontend/notes.md')
-rw-r--r--sick-fits/frontend/notes.md36
1 files changed, 0 insertions, 36 deletions
diff --git a/sick-fits/frontend/notes.md b/sick-fits/frontend/notes.md
deleted file mode 100644
index 9ea38ef..0000000
--- a/sick-fits/frontend/notes.md
+++ /dev/null
@@ -1,36 +0,0 @@
-## Commonly Used Terms
-
-Mutation
-
-Query
-
-Scalar - this means that it's an acutal value and not a relationship. A scalar type of ID might be ABC123, a scalar type of String might be "Wes Bos". These are the default scalar types:
-
-Int: A signed 32‐bit integer.
-Float: A signed double-precision floating-point value.
-String: A UTF‐8 character sequence.
-Boolean: true or false.
-ID
-
-## The process for adding a new field:
-
-1. First we need to add the field to our type in datamodel.graphql
-2. Then, we need to add it to our schema.graphql file, which is how we define our GraphQL API. Here we will only include the fields that we want to be query-able
-3. Now the database needs to know about the new field, so we run `prisma deploy`
-
-## The process for adding a new type
-
-1. First we need to add it to the database. Edit datamodel.graphql:
-
-```js
-type Item {
- id: ID! @unique
- title: String!
- description: String!
- price: Int!
-}
-```
-
-2. Now we need to either re-define it in our client-side schema, or import it carte blanche
-
-## The process for adding new queries or mutations