rion
11/03/2017, 10:33 PMagartha
11/03/2017, 10:34 PMrion
11/03/2017, 10:34 PMrion
11/03/2017, 10:34 PMrion
11/03/2017, 10:36 PMagartha
11/03/2017, 10:37 PMrion
11/03/2017, 10:38 PMrion
11/03/2017, 10:39 PMagartha
11/03/2017, 10:39 PMgraphcool.yml
and it 'will just work β’οΈ'rion
11/03/2017, 10:39 PMagartha
11/03/2017, 10:40 PMrion
11/03/2017, 10:41 PMagartha
11/03/2017, 10:41 PMrion
11/03/2017, 10:42 PM.
βββ README.md
βββ graphcool.yml
βββ node_modules
βββ package.json
βββ src
β βββ email-password
β β βββ authenticate.graphql
β β βββ authenticate.js
β β βββ loggedInUser.graphql
β β βββ loggedInUser.js
β β βββ signup.graphql
β β βββ signup.js
β β βββ signup.ts
β βββ permissions
β βββ Post.graphql
β βββ User.graphql
βββ types.graphql
βββ yarn.lock
agartha
11/03/2017, 10:43 PMagartha
11/03/2017, 10:44 PMrion
11/03/2017, 10:46 PMrion
11/03/2017, 10:46 PMrion
11/03/2017, 10:46 PMrion
11/03/2017, 10:46 PMagartha
11/03/2017, 10:46 PMagartha
11/03/2017, 10:48 PMrion
11/03/2017, 10:52 PMtemplates
folder didn't retain the javascript email-password
option. It used to be js but was converted over to typescript.
Thankfully I found the example folder in question here and that it was still using js. Also, this react-apollo example (https://github.com/graphcool-examples/react-graphql/tree/master/authentication-with-email-and-apollo) uses the js version, which is niceagartha
11/03/2017, 10:52 PMrion
11/03/2017, 10:53 PMrion
11/03/2017, 10:53 PMagartha
11/03/2017, 10:54 PMrion
11/03/2017, 10:56 PMrion
11/03/2017, 10:56 PMagartha
11/03/2017, 10:56 PMagartha
11/03/2017, 10:57 PMrion
11/03/2017, 10:57 PMagartha
11/03/2017, 10:58 PMrion
11/03/2017, 10:58 PMrion
11/03/2017, 10:58 PMagartha
11/03/2017, 10:59 PMagartha
11/03/2017, 11:00 PMrion
11/03/2017, 11:00 PMemail-password
JS template. I'm not trying to be difficult. I'm just getting mixed messages.agartha
11/03/2017, 11:00 PMrion
11/03/2017, 11:03 PMagartha
11/03/2017, 11:06 PMagartha
11/03/2017, 11:06 PMrion
11/03/2017, 11:23 PMauth
folder is one of the "officially supported" template folders, so when I see a JS template removed from that folder it raises a bit of a concern for me. Actually, it wasn't really a big concern then, but through this discussion it seems the 'TS over JS' narrative is getting louder.
I assumed you were part of GC by how much help I see you giving people, but if you can't speak for GC then maybe not? Either way, I'm hoping the JS template comes back. At that point I won't need it, but it will be a good sign that JS is in fact going to supported moving forward.agartha
11/03/2017, 11:28 PMrion
11/03/2017, 11:29 PMnilan
11/04/2017, 12:45 AMagartha
11/04/2017, 12:47 AMrion
11/04/2017, 12:54 AMiamclaytonray
11/04/2017, 6:21 AMtsconfig.json
and only use the compiler. You can add a tsconfig.json
and get more control the compilation process. (For example, ES6 instead of ES5.) Past that, Iβd encourage you to check out TS. I had the same concerns you have about just trying to stay afloat with JS but after I actually started messing around with TS, I fell in love with it and found that itβs actually not that much to learn, especially if you come from a low-level background. (C#/Java/Go/C/C++/etc devs should feel more comfortable with TS over JS).rion
11/04/2017, 5:13 PM