aerogear / create-graphql

Command-line utility to build production-ready servers with GraphQL.
MIT License
440 stars 38 forks source link

Templates for Relay frontend #43

Closed sibelius closed 6 years ago

sibelius commented 7 years ago

Add.js.template - simple screen with a form with all input fields of the mutation from schema.json, it commit mutation onSubmit

AddMutation.js.template - simple add mutation template

Edit.js.template - simple screen with a form to edit a graphql object type

EditMutation.js.template - simple edit mutation template

List.js.template - list of objects from relay

View.js.template - tabbed detail view of graphql object type

WIP of #12

TODO

codecov-io commented 7 years ago

Codecov Report

Merging #43 into master will increase coverage by 7.45%. The diff coverage is 37.7%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   59.01%   66.46%   +7.45%     
==========================================
  Files          13       22       +9     
  Lines         305      334      +29     
==========================================
+ Hits          180      222      +42     
+ Misses        125      112      -13
Impacted Files Coverage Δ
packages/create-graphql/src/index.js 0% <ø> (ø) :arrow_up:
packages/create-graphql/src/commands/index.js 0% <ø> (ø) :arrow_up:
packages/generator/src/frontend/list/index.js 0% <0%> (ø)
packages/generator/src/frontend/add/index.js 0% <0%> (ø)
packages/create-graphql/src/commands/frontend.js 0% <0%> (ø)
packages/generator/src/frontend/view/index.js 0% <0%> (ø)
packages/generator/src/frontend/edit/index.js 0% <0%> (ø)
packages/generator/src/list/index.js 91.66% <91.66%> (ø)
packages/generator/src/view/index.js 91.66% <91.66%> (ø)
packages/generator/src/edit/index.js 92.3% <92.3%> (ø)
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update df73aff...9830d5d. Read the comment docs.

sibelius commented 6 years ago

modern FWI