-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create new methods at fetch plugin, that will fit to current server requirements (prev. static data) #18
Comments
just a separated task @vadim9999 |
@nadaa During our last conversation with Vadim, he raised a very important question. We have an At your example, we have an id field like plain numbers( while it's not solved - we created 2 methods(stored at selectors.js) one will return int, second will return custom |
There is a scalar type in graphql called ID, maybe it will fit the mongodb generated id. I will check that. |
it'll done at next stages. right now our goal1 is to replace all static files at data folder. @nadaa please update content at files that isset, but empty. it'll save time to Vadim |
Ok, I will update the data files |
So, what methods we should create next? please advice, Vadim |
for the first stage - we'll just make it work without crashes. then we'll make more advanced methods. @vadim can you move this simple static data into fetch-plugin, please? then if you want, you can also clean up/replace the old version with selectors version. |
links of old and new versions are identical |
updated, sorry |
Vadim, you changes at |
ok |
can you give more details? |
sure, actually i want you just remove the first line of code and replace it
with method, that exported from selector. please be aware about how should
be changed code inside the console.log. and when it'll be done - remove the
unnecessary file from `data` folder
|
#6 (comment)
and we need to have that data for all types, that we specified here: https://github.com/GroceriStar/graphql-server/tree/master/src/typeDefs
create new methods
Departments
Grocery
Schema
Static Data that was tested at graphql server
Ingredients
Schema
don't have file Static Data that was tested at graphql server
users
Schema
Static Data that was tested at graphql server
next types will explain later
The text was updated successfully, but these errors were encountered: