graphql-nodejs-hapi-api icon indicating copy to clipboard operation
graphql-nodejs-hapi-api copied to clipboard

how to write more effective

Open xinshangshangxin opened this issue 7 years ago • 0 comments

  1. define type at graphql/PaintingType.js
  2. define scheme at models/Painting.js
  3. if use typescript, a interface need to define at client

all of them are similar, but write 3 times, how to more effective?

xinshangshangxin avatar Jun 25 '18 02:06 xinshangshangxin